Public bug reported:

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.

As an initial proposal, any file matching the pattern
"$DEBIAN/config/*.annotations" could be considered as an overlay file
and policies could be overridden on a config basis. That means that any
mention to a config in the overlay file would discard all the policies
for that config in the original file.

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Marcelo Cerri (mhcerri)
         Status: Incomplete

** Affects: linux-gcp (Ubuntu)
     Importance: Undecided
     Assignee: Marcelo Cerri (mhcerri)
         Status: In Progress

** Affects: linux (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Artful)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Bionic)
     Importance: Undecided
     Assignee: Marcelo Cerri (mhcerri)
         Status: Incomplete

** Affects: linux-gcp (Ubuntu Bionic)
     Importance: Undecided
     Assignee: Marcelo Cerri (mhcerri)
         Status: In Progress

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
     Assignee: Marcelo Cerri (mhcerri)
       Status: New

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

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

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

** No longer affects: linux-gcp (Ubuntu Xenial)

** No longer affects: linux-gcp (Ubuntu Artful)

** Changed in: linux-gcp (Ubuntu Bionic)
     Assignee: (unassigned) => Marcelo Cerri (mhcerri)

** Changed in: linux-gcp (Ubuntu Bionic)
       Status: New => In Progress

-- 
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/1752072

Title:
  [Packaging] Allow overlay of config annotations

Status in linux package in Ubuntu:
  Incomplete
Status in linux-gcp package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  New
Status in linux source package in Artful:
  New
Status in linux source package in Bionic:
  Incomplete
Status in linux-gcp source package in Bionic:
  In Progress

Bug description:
  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.

  As an initial proposal, any file matching the pattern
  "$DEBIAN/config/*.annotations" could be considered as an overlay file
  and policies could be overridden on a config basis. That means that
  any mention to a config in the overlay file would discard all the
  policies for that config in the original file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1752072/+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