I'm not sure all the OEM use the DCD file. We can keep the OEM
true/false as it is an installation mode that can be used by anyone
without remastering the entire image.

** Description changed:

  OEM use a tracking id called Distribution Channel Descriptor (DCD)
  located in .disk/ubuntu_dist_channel and installed by Ubiquity to
  /var/lib/ubuntu_dist_channel
  
  When this information exists ubuntu-report must collect the tracking id.
  The proposal is to store it in the OEM key:
  
  [...]
  "OEM": {
-     "Vendor": "Vendor Name",
-     "Product": "4287CTO",
-     "DCD": "<Tracking Id>
-   }
+     "Vendor": "Vendor Name",
+     "Product": "4287CTO",
+     "DCD": "<Tracking Id>
+   }
  [...]
+ 
+ An example of content of a DCD file is:
+ """""
+ # This is a distribution channel descriptor
+ # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
+  canonical-oem-somerville-xenial-amd64-20160624-2
+ """""
  
  
  [1] https://wiki.ubuntu.com/FoundationsTeam/Specs/OemTrackingId
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: ubuntu-report 1.2.0
  ProcVersionSignature: Ubuntu 4.17.0-6.7-generic 4.17.9
  Uname: Linux 4.17.0-6-generic x86_64
  ApportVersion: 2.20.10-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Aug 10 10:23:04 2018
  Dependencies:
-  gcc-8-base 8.2.0-1ubuntu2
-  libc6 2.27-3ubuntu1
-  libgcc1 1:8.2.0-1ubuntu2
+  gcc-8-base 8.2.0-1ubuntu2
+  libc6 2.27-3ubuntu1
+  libgcc1 1:8.2.0-1ubuntu2
  InstallationDate: Installed on 2014-07-15 (1487 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
  SourcePackage: ubuntu-report
  UpgradeStatus: Upgraded to cosmic on 2018-03-24 (138 days ago)

** Description changed:

  OEM use a tracking id called Distribution Channel Descriptor (DCD)
  located in .disk/ubuntu_dist_channel and installed by Ubiquity to
  /var/lib/ubuntu_dist_channel
  
  When this information exists ubuntu-report must collect the tracking id.
  The proposal is to store it in the OEM key:
  
  [...]
  "OEM": {
      "Vendor": "Vendor Name",
      "Product": "4287CTO",
      "DCD": "<Tracking Id>
    }
  [...]
  
  An example of content of a DCD file is:
  """""
  # This is a distribution channel descriptor
  # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
-  canonical-oem-somerville-xenial-amd64-20160624-2
+ canonical-oem-somerville-xenial-amd64-20160624-2
  """""
- 
  
  [1] https://wiki.ubuntu.com/FoundationsTeam/Specs/OemTrackingId
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: ubuntu-report 1.2.0
  ProcVersionSignature: Ubuntu 4.17.0-6.7-generic 4.17.9
  Uname: Linux 4.17.0-6-generic x86_64
  ApportVersion: 2.20.10-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Aug 10 10:23:04 2018
  Dependencies:
   gcc-8-base 8.2.0-1ubuntu2
   libc6 2.27-3ubuntu1
   libgcc1 1:8.2.0-1ubuntu2
  InstallationDate: Installed on 2014-07-15 (1487 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
  SourcePackage: ubuntu-report
  UpgradeStatus: Upgraded to cosmic on 2018-03-24 (138 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1786432

Title:
  Collect DCD file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-report/+bug/1786432/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to