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>
pull/9/head
M. Vefa Bicakci 7 years ago
parent fbcad1cb17
commit 7470251cb8
No known key found for this signature in database
GPG Key ID: 1DF87CE3B3A5DFAF

@ -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" \

Loading…
Cancel
Save