diff options
author | Juan RP <xtraeme@gmail.com> | 2013-10-16 11:03:48 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2013-10-16 11:03:48 +0200 |
commit | 64ffdff00c008795345b9cfc51445d058eea7454 (patch) | |
tree | 32c0e30a04c1fc93121b7f6fc84a6a8355a4252a | |
parent | e267fde82f08f5a0c7f329f5a52fa8cc4961fb68 (diff) | |
download | hrmpf-64ffdff00c008795345b9cfc51445d058eea7454.tar.gz hrmpf-64ffdff00c008795345b9cfc51445d058eea7454.tar.xz hrmpf-64ffdff00c008795345b9cfc51445d058eea7454.zip |
installer: repair local installations.
-rw-r--r-- | installer.sh.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/installer.sh.in b/installer.sh.in index 6b2b0fc..d95c66d 100644 --- a/installer.sh.in +++ b/installer.sh.in @@ -710,7 +710,7 @@ umount_filesystems() { copy_rootfs() { 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 + LANG=C cp -axvnu / $TARGETDIR >$LOG 2>&1 if [ $? -ne 0 ]; then DIE 1 fi @@ -765,9 +765,6 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return # Create and mount filesystems create_filesystems - # mount required fs - mount_filesystems - # If source not set use defaults. if [ "$(get_option SOURCE)" = "local" -o -z "$SOURCE_DONE" ]; then copy_rootfs @@ -786,10 +783,15 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return echo "Removing temporaray packages from target ..." >$LOG xbps-remove -r $TARGETDIR -Ry dialog f2fs-tools >>$LOG 2>&1 rmdir $TARGETDIR/mnt/target + # mount required fs + mount_filesystems else + # mount required fs + mount_filesystems # network install, use packages. install_packages fi + DIALOG --infobox "Applying installer settings..." 4 60 # copy target fstab. |