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:
parent
fbcad1cb17
commit
7470251cb8
@ -51,7 +51,7 @@ function build_initramfs() {
|
|||||||
kver=$1
|
kver=$1
|
||||||
output_file=$2
|
output_file=$2
|
||||||
|
|
||||||
/sbin/dracut --nomdadmconf --nolvmconf --force \
|
dracut --nomdadmconf --nolvmconf --force \
|
||||||
--modules "kernel-modules qubes-vm-simple" \
|
--modules "kernel-modules qubes-vm-simple" \
|
||||||
--conf /dev/null --confdir /var/empty \
|
--conf /dev/null --confdir /var/empty \
|
||||||
-d "xenblk xen-blkfront cdrom ext4 jbd2 crc16 dm_snapshot" \
|
-d "xenblk xen-blkfront cdrom ext4 jbd2 crc16 dm_snapshot" \
|
||||||
|
Loading…
Reference in New Issue
Block a user