From e3179e066cc983eceb5f44e61676d940116228ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret?= Date: Wed, 21 Feb 2018 19:52:56 +0100 Subject: [PATCH] Remove busybox as it is not provided in RHEL7 anymore --- dracut/simple/init.sh | 18 +++++++++--------- dracut/simple/module-setup.sh | 15 ++++++++++++++- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/dracut/simple/init.sh b/dracut/simple/init.sh index 6c8ae0c..132e7f9 100644 --- a/dracut/simple/init.sh +++ b/dracut/simple/init.sh @@ -10,7 +10,7 @@ if [ -e /dev/mapper/dmroot ] ; then echo "Qubes: FATAL error: /dev/mapper/dmroot already exists?!" fi -modprobe xenblk || modprobe xen-blkfront || echo "Qubes: Cannot load Xen Block Frontend..." +/sbin/modprobe xenblk || /sbin/modprobe xen-blkfront || echo "Qubes: Cannot load Xen Block Frontend..." die() { echo "$@" >&2 @@ -47,7 +47,7 @@ if [ `cat /sys/class/block/$ROOT_DEV/ro` = 1 ] ; then if [ $VOLATILE_SIZE -lt $SWAP_SIZE ]; then die "volatile.img smaller than 1GB, cannot continue" fi - sfdisk -q --unit S /dev/xvdc >/dev/null </dev/null </dev/null </dev/null <