From 97980271effe1bdec41207c69f3ed3831c0c515f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 29 Oct 2019 04:32:14 +0100 Subject: Fine tunning --- scripts/bootstrap/builder.sh | 2 +- scripts/bootstrap/fix_deps.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/bootstrap/builder.sh b/scripts/bootstrap/builder.sh index 4ec722f..9d5de7b 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 --usepkg-exclude "virtual/*" --binpkg-changed-deps=y --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 --changed-deps @world status=$? if [ $status -eq 0 ]; then diff --git a/scripts/bootstrap/fix_deps.sh b/scripts/bootstrap/fix_deps.sh index c5ccd3b..fd70755 100644 --- a/scripts/bootstrap/fix_deps.sh +++ b/scripts/bootstrap/fix_deps.sh @@ -8,10 +8,10 @@ if [ ! /usr/bin/pkg-config ]; then fi # Some applications requires latest version of OpenCL standard, intel provides one -[ -f /etc/OpenCL/vendors/intelocl64.icd ] || emerge -u1 intel-ocl-sdk && eselect opencl set intel +[ ! -f /etc/OpenCL/vendors/intelocl64.icd ] && emerge -u1 intel-ocl-sdk && eselect opencl set intel # Preparing kernel -[ -f /usr/src/linux/.config ] || emerge -1 gentoo-sources && yes "" | make -C /usr/src/linux oldconfig +[ ! -f /usr/src/linux/.config ] && emerge -1 gentoo-sources && yes "" | make -C /usr/src/linux oldconfig # Unmerge #emerge --depclean -a -- cgit v1.2.3