Public bug reported:

[Impact]

Currently for custom kernels, it's necessary to keep a separate
annotations file that often gets out of sync with the corresponding file
in debian.master/.

The "debian/scripts/config-check" script can be changed to allow
additional annotations files to act as overlays over the original
annotations file, allowing custom kernels to override the policies just
for the relevant configs.

The proposal is to add support for an include directive in the
annotations file so custom kernels can include the annotations file from
its base kernel and override policies on a config basis.

[Test Case]

A kernel build should complete successfully after the change.


[Regression Potential] 

Low regression potential since that's a change on the build process that
doesn't affect the final kernel that is built.

** Affects: linux-gcp (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-gcp (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: linux-gcp (Ubuntu Cosmic)
     Importance: Undecided
         Status: New

** Also affects: linux-gcp (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: linux (Ubuntu)

** Also affects: linux-gcp (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: linux-gcp (Ubuntu Bionic)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1820075

Title:
  [Packaging] Improve config annotations check on custom kernels

Status in linux-gcp package in Ubuntu:
  New
Status in linux-gcp source package in Bionic:
  New
Status in linux-gcp source package in Cosmic:
  New

Bug description:
  [Impact]

  Currently for custom kernels, it's necessary to keep a separate
  annotations file that often gets out of sync with the corresponding
  file in debian.master/.

  The "debian/scripts/config-check" script can be changed to allow
  additional annotations files to act as overlays over the original
  annotations file, allowing custom kernels to override the policies
  just for the relevant configs.

  The proposal is to add support for an include directive in the
  annotations file so custom kernels can include the annotations file
  from its base kernel and override policies on a config basis.

  [Test Case]

  A kernel build should complete successfully after the change.

  
  [Regression Potential] 

  Low regression potential since that's a change on the build process
  that doesn't affect the final kernel that is built.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to