Tweak emerge args, also use the right profile search term

This commit is contained in:
Salt 2020-12-02 19:46:26 -06:00
parent 616a329f03
commit e4f7e8427d

View File

@ -169,7 +169,7 @@ build-gentoo-chroot() {
profile=$( profile=$(
eselect profile list \ eselect profile list \
| grep -ie 'stable' \ | grep -ie 'stable' \
| grep -ie "$profile" \ | grep -ie "$_optprofile" \
| head -n 1 \ | head -n 1 \
| grep -oP '\[\K[^\]]+' | grep -oP '\[\K[^\]]+'
) || error "Error finding profile: $profile" 51 ) || error "Error finding profile: $profile" 51
@ -178,7 +178,7 @@ build-gentoo-chroot() {
eselect profile set "$profile" eselect profile set "$profile"
# BEHOLD! # BEHOLD!
emerge -DNuv @world emerge -DNUua @world --jobs --quiet-build y --with-bdeps y
# Configure timezone # Configure timezone
emerge --config sys-libs/timezone-data emerge --config sys-libs/timezone-data
# Locales # Locales