Explorar o código

installer: two more infoboxes after copying image to target; remove useless dir.

Juan RP %!s(int64=11) %!d(string=hai) anos
pai
achega
78c31161df
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      installer.sh.in

+ 3 - 0
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