summaryrefslogtreecommitdiffstats
path: root/scripts/bootstrap/builder_sync.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-25 23:23:08 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-25 23:23:08 +0200
commit6fa3110487606c17c856480265844b2008d29f63 (patch)
tree1326614d346f4abb91f702e31cda9c93ea6dbc19 /scripts/bootstrap/builder_sync.sh
parent5b03566d3b182febad29391d525b1b55e9a1a212 (diff)
downloadgentoo-6fa3110487606c17c856480265844b2008d29f63.tar.gz
gentoo-6fa3110487606c17c856480265844b2008d29f63.tar.bz2
gentoo-6fa3110487606c17c856480265844b2008d29f63.tar.xz
gentoo-6fa3110487606c17c856480265844b2008d29f63.zip
Fix building from scratch
Diffstat (limited to 'scripts/bootstrap/builder_sync.sh')
-rw-r--r--scripts/bootstrap/builder_sync.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/bootstrap/builder_sync.sh b/scripts/bootstrap/builder_sync.sh
index e7f1f66..c1db7d7 100644
--- a/scripts/bootstrap/builder_sync.sh
+++ b/scripts/bootstrap/builder_sync.sh
@@ -4,3 +4,11 @@ cd /darklin/gentoo && git pull
cd /darklin/darklin4 && git pull
emerge --sync && eix-sync
emerge -1 portage
+
+lftp http://darksoft.org/darklin/ << EOF
+lcd /var/cache/
+mirror -c distfiles
+bye
+EOF
+
+[ -f /usr/src/linux/.config ] || yes "" | make -C /usr/src/linux oldconfig