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=$(
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