qubes-prepare-vm-kernel: Do not hardcode path to dracut

dracut has apparently moved from /sbin to /bin some time in the past.
Accommodate this change to avoid failures.

Signed-off-by: M. Vefa Bicakci <m.v.b@runbox.com>
This commit is contained in:
M. Vefa Bicakci 2017-03-14 16:51:06 +03:00
parent fbcad1cb17
commit 7470251cb8
No known key found for this signature in database
GPG Key ID: 1DF87CE3B3A5DFAF

View File

@ -51,7 +51,7 @@ function build_initramfs() {
kver=$1
output_file=$2
/sbin/dracut --nomdadmconf --nolvmconf --force \
dracut --nomdadmconf --nolvmconf --force \
--modules "kernel-modules qubes-vm-simple" \
--conf /dev/null --confdir /var/empty \
-d "xenblk xen-blkfront cdrom ext4 jbd2 crc16 dm_snapshot" \