Do not use kernel-provided firmware in initramfs
dracut (at least in fc13) can use only one directory with firmware, so use the standard one (from linux-firmware package) because it contains a lot wider set of files.
This commit is contained in:
parent
dba3f1db89
commit
d0df204f77
@ -315,10 +315,6 @@ if [ "%{build_flavor}" == "pvops" ]; then
|
||||
mv %buildroot/lib/firmware-all %buildroot/lib/firmware/%kernelrelease
|
||||
fi
|
||||
|
||||
# Include firmware in initramfs
|
||||
mkdir -p %buildroot/etc/dracut.conf.d
|
||||
echo 'fw_dir="$fw_dir:/lib/firmware/%kernelrelease"' > %buildroot/etc/dracut.conf.d/firmware-%kernelrelease.conf
|
||||
|
||||
# Prepare initramfs for Qubes VM
|
||||
mkdir -p %buildroot/%vm_install_dir
|
||||
/sbin/dracut --nomdadmconf --nolvmconf \
|
||||
@ -376,7 +372,6 @@ fi
|
||||
%attr(0644, root, root) /boot/vmlinuz-%{kernelrelease}
|
||||
/lib/firmware/%{kernelrelease}
|
||||
/lib/modules/%{kernelrelease}
|
||||
/etc/dracut.conf.d/firmware-%kernelrelease.conf
|
||||
|
||||
%package devel
|
||||
Summary: Development files necessary for building kernel modules
|
||||
|
Loading…
Reference in New Issue
Block a user