Bug 39111 - Не блэклистит модуль
Summary: Не блэклистит модуль
Alias: None
Product: Sisyphus
Classification: Development
Component: make-initrd (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
Depends on:
Reported: 2020-10-22 12:54 MSK by Олег Соловьев
Modified: 2020-10-22 13:26 MSK (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Олег Соловьев 2020-10-22 12:54:33 MSK
# cat /etc/initrd.mk.d/blabklist
BLACKLIST_MODULES += nvidia nvidia-drm nvidia-modeset nvidiafb

# cat /etc/initrd.mk
# trying to detect modules and features to access to root volume
FEATURES += plymouth

# make-initrd
[00:00:00] Config file: /etc/initrd.mk
[00:00:30] Used features: add-modules buildinfo cleanup compress depmod-image kbd network plymouth rdshell rootfs system-glibc ucode
[00:00:30] Packed modules: af_packet ahci asus-wmi battery crc16 crc32c_generic crc32c-intel crc-ccitt drm drm_kms_helper evdev ext4 fb_ddc hid hid-asus hid-generic hid-multitouch hwmon i2c-algo-bit i2c-hid i915 idma64 input-leds intel-agp intel-gtt intel-lpss intel-lpss-pci ipv6 jbd2 joydev libahci libata mbcache *nvidiafb* rfkill scsi_mod sd_mod serio_raw sis-agp sparse-keymap usb-common usbcore usbhid usbkbd usbmouse vgastate via-agp video virt-dma wmi xhci-hcd xhci-pci 
[00:00:30] Image is saved as /boot/initrd-5.4.72-std-def-alt1.img
Comment 1 Олег Соловьев 2020-10-22 12:57:10 MSK
Несмотря на блэклист, в initrd попадает модуль nvidiafb.

Если перенести блэклист в /etc/initrd.mk - модуль не попадает.
Comment 2 Alexey Gladkov 2020-10-22 13:26:47 MSK
Каталог /etc/initrd.mk.d создан не для расширения /etc/initrd.mk. Он нужен для создания нескольких образов initrd для одного и того же ядра.