Changes forwarded to Debian: Filter net kernel modules by symbol regexp from dracut https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/127
Filter block kernel modules by symbol regex from dracut https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/149 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/2031841 Title: initramfs-tools and dracut install different sets of kernel modules Status in initramfs-tools package in Ubuntu: Fix Released Bug description: initramfs-tools and dracut install different sets of kernel modules. Either these modules are not needed for booting or are missing in the other project. dracut-install can filter modules by symbol (--mod-filter-symbol) to select modules more fine-grain. Harmonize the set of modules. Adopt the install rules from dracut to get rid of modules that are shipped in initramfs-tools, but not in dracut. Following kernel modules will be kept since they are mentioned in the initramfs-tools code: * via hidden_dep_add_modules: psmouse mlx5_ib mlx4_ib * via framebuffer hook: =drivers/gpu vga16fb =drivers/char/agp * explicit in auto_add_modules: extcon-usb-gpio extcon-usbc-cros-ec cros_ec_spi * via hw_random in auto_add_modules: =drivers/char/hw_random * via fb in auto_add_modules: pwm-cros-ec pwm_bl * ignored difference for now: =drivers/mmc * via virtual in auto_add_modules: hv_utils * not analyzed yet: mhi_ep mhi mhi_pci_generic i2c-mux i2c-mux-gpio i2c-mux-ltc4306 i2c-mux-mlxcpld i2c-mux-pca9541 i2c-mux-pca954x i2c-mux-reg c67x00 Following modules will be removed from initramfs-tools with this change, but are in dracut (pulled in as dependency): intel_pmc_bxt kempld-core rave-sp retu-mfd nandcore bch If that change removed too much, we need to add it back and also report that to dracut to add it there as well. Test setup: mantic schroot with linux 6.3.0-7-generic and following packages: linux-image-generic,zstd,busybox-initramfs,cryptsetup- initramfs,isc-dhcp-client,kbd,lvm2,mdadm,ntfs-3g,plymouth,plymouth- theme-spinner,initramfs-tools,dracut-core,dracut-config- generic,dcracut-network initramfs generation with dracut: dracut --regenerate-all --force -q --add-drivers "=drivers/char/agp hv_utils =drivers/mmc pwm-cros-ec pwm_bl mlx4_ib extcon-usb-gpio extcon-usbc-cros-ec cros_ec_spi =drivers/gpu vga16fb psmouse mlx5_ib =drivers/char/hw_random" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2031841/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp