Public bug reported:

[ Impact ]

When linux-main-modules has been introduced, it added a forced
dependency on zfs; the module is not built by test servers and leave
developers in a bad state needing to build the module manually and
installing it. This patch is a proposal to create a toggle to remove the
dependency for test servers.

[ Fix ]

The fix is to add a do_linux_main_modules_depends variable in
0-common-vars.mk that can be externally triggered.
This will need a patch to the test servers to set the variable to false
when building the kernel.

[ Testing ]

Testing will check that not passing the variable to the build will
produce a kernel with the dependency enabled, while running it in a way
like the following one
do_linux_main_modules_depends=false dpkg-buildpackage -us -uc -b
will produce a kernel without the linux-main-modules dependencies.

[ What could go wrong ]

Canonical would produce one kernel with a dependency to lmm (i.e. zfs)
for production and one with no dependencies. This should be a small
impact as the module can be separately built and installed by a
developer in case of need.

** Affects: linux (Ubuntu)
     Importance: High
     Assignee: Alessio Faina (alessiofaina)
         Status: In Progress

** Affects: linux (Ubuntu Resolute)
     Importance: High
     Assignee: Alessio Faina (alessiofaina)
         Status: In Progress

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Alessio Faina (alessiofaina)

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

** Changed in: linux (Ubuntu Resolute)
       Status: New => In Progress

** Changed in: linux (Ubuntu Resolute)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Resolute)
     Assignee: (unassigned) => Alessio Faina (alessiofaina)

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

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Summary changed:

- Add a linux-main-modules dependency toggle
+ Add a linux-main-modules dependency toggle to kernel build process

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

Title:
  Add a linux-main-modules dependency toggle to kernel build process

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to