In fc23 dracut has moved to /usr/bin

Use PATH to find the binary so we continue to work for older versions.
This commit is contained in:
Jon Griffiths 2016-03-10 20:19:47 +13:00
parent 5cc9414f66
commit b9773e475e

View File

@ -322,7 +322,7 @@ mv %buildroot/lib/firmware-all %buildroot/lib/firmware/%kernelrelease
# Prepare initramfs for Qubes VM # Prepare initramfs for Qubes VM
mkdir -p %buildroot/%vm_install_dir mkdir -p %buildroot/%vm_install_dir
/sbin/dracut --nomdadmconf --nolvmconf \ PATH="/sbin:$PATH" dracut --nomdadmconf --nolvmconf \
--kmoddir %buildroot/lib/modules/%kernelrelease \ --kmoddir %buildroot/lib/modules/%kernelrelease \
--modules "kernel-modules qubes-vm-simple" \ --modules "kernel-modules qubes-vm-simple" \
--conf /dev/null --confdir /var/empty \ --conf /dev/null --confdir /var/empty \