diff options
author | Juan RP <xtraeme@gmail.com> | 2013-09-16 11:44:45 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2013-09-16 11:44:45 +0200 |
commit | 0fbbcbd740934da5829ef5b78e15ba1f0f617a4d (patch) | |
tree | 752918c770474b70c5f7653e8d38bc1215db0e42 /installer.sh.in | |
parent | 78c31161df084ace6a2601a834675ebba23df0ed (diff) | |
download | hrmpf-0fbbcbd740934da5829ef5b78e15ba1f0f617a4d.tar.gz hrmpf-0fbbcbd740934da5829ef5b78e15ba1f0f617a4d.tar.xz hrmpf-0fbbcbd740934da5829ef5b78e15ba1f0f617a4d.zip |
installer: use an infobox when copying live image to target; misc tweaks.
Diffstat (limited to 'installer.sh.in')
-rw-r--r-- | installer.sh.in | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/installer.sh.in b/installer.sh.in index 7970e7b..6b2b0fc 100644 --- a/installer.sh.in +++ b/installer.sh.in @@ -708,9 +708,9 @@ umount_filesystems() { } copy_rootfs() { - LANG=C cp -axvn / $TARGETDIR 2>&1 | \ - DIALOG --title "Copyring live image to target rootfs ..." \ - --programbox 24 80 + DIALOG --title "Check /dev/tty7 for details" \ + --infobox "Copyring live image to target rootfs, please wait ..." 4 60 + LANG=C cp -axvn / $TARGETDIR >$LOG 2>&1 if [ $? -ne 0 ]; then DIE 1 fi @@ -776,12 +776,14 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return # Remove live user. . /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 + chroot $TARGETDIR userdel -r $USERNAME >$LOG 2>&1 + DIALOG --title "Check /dev/tty7 for details" \ + --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 + DIALOG --title "Check /dev/tty7 for details" \ + --infobox "Removing temporary packages from target ..." 4 60 + echo "Removing temporaray packages from target ..." >$LOG xbps-remove -r $TARGETDIR -Ry dialog f2fs-tools >>$LOG 2>&1 rmdir $TARGETDIR/mnt/target else |