diff --git a/gentoo.sh b/gentoo.sh index ab0af5e..67df496 100644 --- a/gentoo.sh +++ b/gentoo.sh @@ -445,7 +445,7 @@ liveOSrestore() { echo "[Transferring Currenting Running OS from $LIVE_OS_DM to $HARD_DISK ]" echo mount $LIVE_OS_DM /tmp/live - + cd /tmp/live/$LIVE_OS_SUBVOL rsync -a --delete . --exclude=home/* --exclude=.snapshots/* --exclude=sys/* --exclude=dev/* --exclude=proc/* --exclude=run/* $TARGET/ fstab @@ -813,8 +813,10 @@ menu() { read -p 'Backup Home Directory? : ' -e -i 'n' home_backup read -p 'OS Backup Directory Location : ' -e -i "/mnt" backup_directory if [[ $home_backup = *n* ]]; then + setDevices osBackup "none" "$backup_directory" "$ROOT_NAME" else + setDevices osBackup "home" "$backup_directory" "$ROOT_NAME" fi elif [[ $choice = 6 ]]; then @@ -1009,7 +1011,6 @@ compile-kernel() { time make install } - fixBase() { sudo emerge glibc go sys-apps/acl