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