summaryrefslogtreecommitdiffstats
path: root/scripts/bootstrap/builder_sync.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-26 02:30:11 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-26 02:30:11 +0200
commit250a0499b8be676f70206042074caa539d098729 (patch)
treef60c744b35c8372a3532c4a1018bd598c11da092 /scripts/bootstrap/builder_sync.sh
parentc145fa264165d3838a03e3349af45d0e157d8fa0 (diff)
downloadgentoo-250a0499b8be676f70206042074caa539d098729.tar.gz
gentoo-250a0499b8be676f70206042074caa539d098729.tar.bz2
gentoo-250a0499b8be676f70206042074caa539d098729.tar.xz
gentoo-250a0499b8be676f70206042074caa539d098729.zip
Don't emerge anything until we pre-process configuration
Diffstat (limited to 'scripts/bootstrap/builder_sync.sh')
-rw-r--r--scripts/bootstrap/builder_sync.sh20
1 files 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