mklive: always omit dracut systemd module if base-system-systemd is not used.

This commit is contained in:
Juan RP 2014-09-20 09:44:36 +02:00
parent 8c91dea923
commit bb8d32e2c2
1 changed files with 2 additions and 0 deletions

View File

@ -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