diff options
-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 |