about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2013-09-14 15:17:44 +0200
committerJuan RP <xtraeme@gmail.com>2013-09-14 15:17:44 +0200
commit78c31161df084ace6a2601a834675ebba23df0ed (patch)
treecc1b0d95f870363b5d5b316d61ba4fa0a5334b56 /installer.sh.in
parent2fdc8b11cc04dd6146075f20d72615ea9b352ee4 (diff)
downloadhrmpf-78c31161df084ace6a2601a834675ebba23df0ed.tar.gz
hrmpf-78c31161df084ace6a2601a834675ebba23df0ed.tar.xz
hrmpf-78c31161df084ace6a2601a834675ebba23df0ed.zip
installer: two more infoboxes after copying image to target; remove useless dir.
Diffstat (limited to 'installer.sh.in')
-rw-r--r--installer.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/installer.sh.in b/installer.sh.in
index 72f7b42..7970e7b 100644
--- a/installer.sh.in
+++ b/installer.sh.in
@@ -777,10 +777,13 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
         . /etc/default/live.conf
         echo "Removing $USERNAME live user from targetdir ..." >$LOG
         chroot $TARGETDIR userdel -r $USERNAME >>$LOG 2>&1
+        DIALOG --infobox "Rebuilding initramfs for target ..." 4 60
         echo "Rebuilding initramfs for target ..." >$LOG
         chroot $TARGETDIR dracut --force >>$LOG 2>&1
+        DIALOG --infobox "Removing temporary packages from target ..." 4 60
         echo "Removing unused packages from target ..." >$LOG
         xbps-remove -r $TARGETDIR -Ry dialog f2fs-tools >>$LOG 2>&1
+        rmdir $TARGETDIR/mnt/target
     else
         # network install, use packages.
         install_packages