about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2013-05-22 08:08:29 +0200
committerJuan RP <xtraeme@gmail.com>2013-05-22 08:08:29 +0200
commite7bb9ad803ab26e25832f52e3081cb75ce1ab536 (patch)
treee5fbdfef25d72d59e5d90386f6046661cf9aa760
parent0c3ec890bc633206443ad0569a2900c44c98797b (diff)
downloadhrmpf-e7bb9ad803ab26e25832f52e3081cb75ce1ab536.tar.gz
hrmpf-e7bb9ad803ab26e25832f52e3081cb75ce1ab536.tar.xz
hrmpf-e7bb9ad803ab26e25832f52e3081cb75ce1ab536.zip
After installing pkgs reconfigure them with systemd-nspawn.
-rw-r--r--mklive.sh.in4
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
 }