Sfoglia il codice sorgente

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

Juan RP 10 anni fa
parent
commit
bb8d32e2c2
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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