From 250a0499b8be676f70206042074caa539d098729 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 26 Oct 2019 02:30:11 +0200 Subject: Don't emerge anything until we pre-process configuration --- scripts/bootstrap/builder_sync.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/scripts/bootstrap/builder_sync.sh b/scripts/bootstrap/builder_sync.sh index 7a71377..5c5c24b 100644 --- a/scripts/bootstrap/builder_sync.sh +++ b/scripts/bootstrap/builder_sync.sh @@ -7,14 +7,6 @@ cd "/darklin/darklin4" && git pull # Update portage emerge --sync && eix-sync -emerge -1 portage - -# Update extra dist files -lftp http://darksoft.org/darklin/ << EOF -lcd /var/cache/ -mirror -c distfiles -bye -EOF # Skip binary packages rm -f /etc/portage/sets/desktop-apps-bin @@ -29,6 +21,16 @@ bash /etc/portage/scripts/gen-world-sets # update layman #bash /etc/portage/scripts/bootstrap/layman_reinit.sh - # reconfigure kernel if necessary [ -f /usr/src/linux/.config ] || yes "" | make -C /usr/src/linux oldconfig + +emerge -u1 portage + +# Update extra dist files +[ ! -f /usr/bin/lftp ] && emerge -1 lftp + +lftp http://darksoft.org/darklin/ << EOF +lcd /var/cache/ +mirror -c distfiles +bye +EOF -- cgit v1.2.3