[Bug 2036885] Re: please add API to exclude things

Dimitri John Ledkov 2036885 at bugs.launchpad.net
Thu Sep 21 17:22:22 UTC 2023


dracut-install has these options:
  -P --mod-filter-nopath    Exclude kernel modules by path regexp
  -N --mod-filter-noname    Exclude kernel modules by name regexp

I'm more thinking along the lines of:

rm_modules_dir()
rm_modules()

Which would apply mod-filter-nopath / mod-filter-noname, after the full
list of modules to include has been assembled.

I am assuming that any add module requests are bundled together into a
single dracut-install call, such that rm_modules()/rm_modules_dir() call
will be effective.

Then raspberri pi hook may have a list of things to exclude, which can
then be optionally disabled based on the toggles it would have.

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

Title:
  please add API to exclude things

Status in initramfs-tools package in Ubuntu:
  Triaged

Bug description:
  Please add API to exclude things

  It would be useful on Pi to say "yes include all graphics" but do
  exclude "amdgpu, nvidia" drivers and firmware related to those.

  Something along the lines of a "exclude filter list" for drivers &
  firmware.

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




More information about the foundations-bugs mailing list