From 5c49a31161325efca85118b78b93afe4ce806a97 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 2 Aug 2014 08:56:39 +0200 Subject: mklive: add systemd dracut module for systemd images. --- mklive.sh.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mklive.sh.in') diff --git a/mklive.sh.in b/mklive.sh.in index 366751d..0aa0bf4 100644 --- a/mklive.sh.in +++ b/mklive.sh.in @@ -139,9 +139,8 @@ generate_initramfs() { copy_dracut_files $VOIDHOSTDIR $XBPS_INSTALL_CMD -r $VOIDHOSTDIR $XBPS_REPOSITORY $XBPS_CACHEDIR -y base-system >>$LOGFILE 2>&1 - if [ "$BASE_SYSTEM_PKG" = "base-system-runit" ]; then - # for runit omit the systemd module - _args="--omit 'systemd'" + if [ "$BASE_SYSTEM_PKG" = "base-system-systemd" ]; then + _args="--add systemd" fi xbps-uchroot $VOIDHOSTDIR /usr/bin/dracut --${INITRAMFS_COMPRESSION} \ --force-add "vmklive" ${_args} "/boot/initrd" $KERNELVERSION >>$LOGFILE 2>&1 -- cgit 1.4.1