diff --git a/mklive.sh.in b/mklive.sh.in index f5a784b..b053e31 100644 --- a/mklive.sh.in +++ b/mklive.sh.in @@ -125,7 +125,7 @@ generate_initramfs() { # Install required pkgs in a temporary rootdir to create # the initramfs and to copy required files. copy_dracut_files $VOIDHOSTDIR - $XBPS_INSTALL_CMD -r $VOIDHOSTDIR $XBPS_REPOSITORY $XBPS_CACHEDIR -y base-system >>$LOGFILE 2>&1 + $XBPS_INSTALL_CMD -r $VOIDHOSTDIR $XBPS_REPOSITORY $XBPS_CACHEDIR -y base-system xz lz4 >>$LOGFILE 2>&1 if [ "$BASE_SYSTEM_PKG" = "base-system-systemd" ]; then _args="--add systemd" @@ -256,7 +256,7 @@ shift $(($OPTIND - 1)) : ${XBPS_CACHEDIR:=--cachedir=/var/cache/xbps} : ${KEYMAP:=us} : ${LOCALE:=en_US.UTF-8} -: ${INITRAMFS_COMPRESSION:=gzip} +: ${INITRAMFS_COMPRESSION:=xz} : ${SQUASHFS_COMPRESSION:=xz} : ${BASE_SYSTEM_PKG:=base-system} : ${BOOT_TITLE:="Void Linux"}