diff options
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 |