diff options
author | Juan RP <xtraeme@gmail.com> | 2014-09-20 09:44:36 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-09-20 09:44:36 +0200 |
commit | bb8d32e2c2f3c885cb36cccf4db42089aeffb3f0 (patch) | |
tree | b468f7861bfbcf91ce9796666e17c99f4708ea03 /mklive.sh.in | |
parent | 8c91dea923aa2d5909771dfacb51168b7294f4ad (diff) | |
download | hrmpf-bb8d32e2c2f3c885cb36cccf4db42089aeffb3f0.tar.gz hrmpf-bb8d32e2c2f3c885cb36cccf4db42089aeffb3f0.tar.xz hrmpf-bb8d32e2c2f3c885cb36cccf4db42089aeffb3f0.zip |
mklive: always omit dracut systemd module if base-system-systemd is not used.
Diffstat (limited to 'mklive.sh.in')
-rw-r--r-- | mklive.sh.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mklive.sh.in b/mklive.sh.in index 77e9bc1..f41009a 100644 --- a/mklive.sh.in +++ b/mklive.sh.in @@ -122,6 +122,8 @@ generate_initramfs() { if [ "$BASE_SYSTEM_PKG" = "base-system-systemd" ]; then _args="--add systemd" + else + _args="--omit systemd" fi xbps-uchroot $VOIDHOSTDIR /usr/bin/dracut --${INITRAMFS_COMPRESSION} \ --force-add "vmklive" ${_args} "/boot/initrd" $KERNELVERSION >>$LOGFILE 2>&1 |