From b9773e475e20b89dc3a5032db29311bb0721bc70 Mon Sep 17 00:00:00 2001 From: Jon Griffiths Date: Thu, 10 Mar 2016 20:19:47 +1300 Subject: [PATCH] In fc23 dracut has moved to /usr/bin Use PATH to find the binary so we continue to work for older versions. --- kernel.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index c655796..155cb56 100644 --- a/kernel.spec +++ b/kernel.spec @@ -322,7 +322,7 @@ mv %buildroot/lib/firmware-all %buildroot/lib/firmware/%kernelrelease # Prepare initramfs for Qubes VM mkdir -p %buildroot/%vm_install_dir -/sbin/dracut --nomdadmconf --nolvmconf \ +PATH="/sbin:$PATH" dracut --nomdadmconf --nolvmconf \ --kmoddir %buildroot/lib/modules/%kernelrelease \ --modules "kernel-modules qubes-vm-simple" \ --conf /dev/null --confdir /var/empty \