diff options
author | Juan RP <xtraeme@gmail.com> | 2013-05-22 08:08:29 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2013-05-22 08:08:29 +0200 |
commit | e7bb9ad803ab26e25832f52e3081cb75ce1ab536 (patch) | |
tree | e5fbdfef25d72d59e5d90386f6046661cf9aa760 /mklive.sh.in | |
parent | 0c3ec890bc633206443ad0569a2900c44c98797b (diff) | |
download | hrmpf-e7bb9ad803ab26e25832f52e3081cb75ce1ab536.tar.gz hrmpf-e7bb9ad803ab26e25832f52e3081cb75ce1ab536.tar.xz hrmpf-e7bb9ad803ab26e25832f52e3081cb75ce1ab536.zip |
After installing pkgs reconfigure them with systemd-nspawn.
Diffstat (limited to 'mklive.sh.in')
-rw-r--r-- | mklive.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mklive.sh.in b/mklive.sh.in index 0e6300c..4785dd7 100644 --- a/mklive.sh.in +++ b/mklive.sh.in @@ -129,7 +129,7 @@ install_packages() { ${XBPS_REMOVE_CMD} ${XBPS_ARGS} -o >>$LOGFILE 2>&1 ${XBPS_QUERY_CMD} -r "$ROOTFS" -l > "${OUTPUT_FILE%.iso}"-package-list.txt - systemd-nspawn -D $ROOTFS xbps-reconfigure -f systemd >>$LOGFILE 2>&1 + systemd-nspawn -D $ROOTFS xbps-reconfigure -fa >>$LOGFILE 2>&1 # Enable some services if found. if [ -f $ROOTFS/usr/lib/systemd/system/NetworkManager.service ]; then @@ -147,7 +147,7 @@ generate_initramfs() { chroot $ROOTFS/kernel_temp /usr/bin/dracut --${COMPRESSTYPE} \ --add "vmklive" --omit "btrfs caps dash resume" \ - "/boot/initrd.lz" $KERNELVERSION >>$LOGFILE 2>&1 + --force "/boot/initrd.lz" $KERNELVERSION >>$LOGFILE 2>&1 mv $ROOTFS/kernel_temp/boot/initrd.lz $BOOT_DIR } |