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:
Marek Marczykowski 2012-12-19 03:15:26 +01:00
parent 4aa5df9496
commit a58e756d9e

View File

@ -316,10 +316,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 \
@ -377,7 +373,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