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:
parent
5cc9414f66
commit
b9773e475e
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user