From 5405fe336b06678a6a61b7d2689a5f488a7a084b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 26 Oct 2019 04:47:16 +0200 Subject: Don't reuse virtual/* binary packages --- scripts/bootstrap/builder.sh | 2 +- scripts/bootstrap/builder_sync.sh | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'scripts/bootstrap') diff --git a/scripts/bootstrap/builder.sh b/scripts/bootstrap/builder.sh index d01a201..4ec722f 100644 --- a/scripts/bootstrap/builder.sh +++ b/scripts/bootstrap/builder.sh @@ -8,7 +8,7 @@ bash /etc/portage/scripts/bootstrap/builder_sync.sh # This is intended as permanent container while [ 1 ]; do - emerge --usepkg --buildpkg --keep-going --update --deep --with-bdeps=y --newuse @world + emerge --usepkg --usepkg-exclude "virtual/*" --binpkg-changed-deps=y --buildpkg --keep-going --update --deep --with-bdeps=y --newuse @world status=$? if [ $status -eq 0 ]; then diff --git a/scripts/bootstrap/builder_sync.sh b/scripts/bootstrap/builder_sync.sh index 5c5c24b..f3a5017 100644 --- a/scripts/bootstrap/builder_sync.sh +++ b/scripts/bootstrap/builder_sync.sh @@ -5,9 +5,6 @@ cd "/darklin/gentoo" && git pull cd "/darklin/darklin4" && git pull -# Update portage -emerge --sync && eix-sync - # Skip binary packages rm -f /etc/portage/sets/desktop-apps-bin @@ -18,14 +15,16 @@ rm -f /etc/portage/package.keywords/xdeps-perl* rm -f /etc/portage/package.keywords/xdeps-firefox* bash /etc/portage/scripts/gen-world-sets +# Update portage +emerge --sync && eix-sync +emerge -u1 portage + # 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 -- cgit v1.2.3