diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-29 04:32:14 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-29 04:32:14 +0100 |
commit | 97980271effe1bdec41207c69f3ed3831c0c515f (patch) | |
tree | 0fe5b1a7b72d874d9f54bc67e211583b8dfe4ee7 /scripts | |
parent | fade0570ec676c3106f866040f913cedcdcef4cc (diff) | |
download | gentoo-97980271effe1bdec41207c69f3ed3831c0c515f.tar.gz gentoo-97980271effe1bdec41207c69f3ed3831c0c515f.tar.bz2 gentoo-97980271effe1bdec41207c69f3ed3831c0c515f.tar.xz gentoo-97980271effe1bdec41207c69f3ed3831c0c515f.zip |
Fine tunning
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/bootstrap/builder.sh | 2 | ||||
-rw-r--r-- | scripts/bootstrap/fix_deps.sh | 4 |
2 files changed, 3 insertions, 3 deletions
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 |