diff options
author | Juan RP <xtraeme@gmail.com> | 2014-08-02 08:56:39 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-08-02 08:56:39 +0200 |
commit | 5c49a31161325efca85118b78b93afe4ce806a97 (patch) | |
tree | 12833d2459053f164dab79127f2abcc9932b8d93 /mklive.sh.in | |
parent | 2c3fb819eeecc487a555158ddae00c52d08424b8 (diff) | |
download | hrmpf-5c49a31161325efca85118b78b93afe4ce806a97.tar.gz hrmpf-5c49a31161325efca85118b78b93afe4ce806a97.tar.xz hrmpf-5c49a31161325efca85118b78b93afe4ce806a97.zip |
mklive: add systemd dracut module for systemd images.
Diffstat (limited to 'mklive.sh.in')
-rw-r--r-- | mklive.sh.in | 5 |
1 files changed, 2 insertions, 3 deletions
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 |