From 7c3a0ea148c20cc90d55b59dd951e8d2be6ddc60 Mon Sep 17 00:00:00 2001 From: oddlama Date: Wed, 2 Jun 2021 17:35:48 +0200 Subject: [PATCH] Switch to git portage tree after installing git. --- scripts/main.sh | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/scripts/main.sh b/scripts/main.sh index 979fb0b..30fac1c 100644 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -284,6 +284,18 @@ function main_install_gentoo_in_chroot() { # Sync portage einfo "Syncing portage tree" + try emerge-webrsync + + # Configure basic system things like timezone, locale, ... + configure_base_system + + # Prepare portage environment + configure_portage + + # Install git (for git portage overlays) + einfo "Installing git" + try emerge --verbose dev-vcs/git + if [[ "$PORTAGE_SYNC_TYPE" == "git" ]]; then mkdir_or_die 0755 "/etc/portage/repos.conf" cat > /etc/portage/repos.conf/gentoo.conf <