Explorar o código

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

Juan RP %!s(int64=10) %!d(string=hai) anos
pai
achega
bb8d32e2c2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      mklive.sh.in

+ 2 - 0
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