From e49d5b5c3952d67c408ad7721dccfef81d3e7f22 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 30 Aug 2024 00:37:31 +0000 Subject: [PATCH] ssd --- gentoo.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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