From e4f7e8427d03ca2b1320263ed1c49c19698fc3a3 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 2 Dec 2020 19:46:26 -0600 Subject: [PATCH] Tweak emerge args, also use the right profile search term --- gentoostrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gentoostrap.sh b/gentoostrap.sh index 03afeed..259bc79 100755 --- a/gentoostrap.sh +++ b/gentoostrap.sh @@ -169,7 +169,7 @@ build-gentoo-chroot() { profile=$( eselect profile list \ | grep -ie 'stable' \ - | grep -ie "$profile" \ + | grep -ie "$_optprofile" \ | head -n 1 \ | grep -oP '\[\K[^\]]+' ) || error "Error finding profile: $profile" 51 @@ -178,7 +178,7 @@ build-gentoo-chroot() { eselect profile set "$profile" # BEHOLD! - emerge -DNuv @world + emerge -DNUua @world --jobs --quiet-build y --with-bdeps y # Configure timezone emerge --config sys-libs/timezone-data # Locales