summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/autobuilder-worker-prereq-tests9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/autobuilder-worker-prereq-tests b/scripts/autobuilder-worker-prereq-tests
index c0148fbce8..bb46c69135 100755
--- a/scripts/autobuilder-worker-prereq-tests
+++ b/scripts/autobuilder-worker-prereq-tests
@@ -34,10 +34,11 @@ if [ "$?" != "0" ]; then
34 echo "Bitbake parsing failed" 34 echo "Bitbake parsing failed"
35 exit 1 35 exit 1
36fi 36fi
37WATCHES=`sysctl fs.inotify.max_user_watches -n` 37
38if (( $WATCHES < 100000 )); then 38WATCHES=$(PATH="/sbin:/usr/sbin:$PATH" sysctl fs.inotify.max_user_watches -n)
39 echo 'Need to increase watches (echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf' 39if (( $WATCHES < 65000 )); then
40 #exit 1 40 echo 'Need to increase watches (echo fs.inotify.max_user_watches=65536 | sudo tee -a /etc/sysctl.conf'
41 exit 1
41fi 42fi
42mkdir -p tmp/deploy/images/qemux86-64 43mkdir -p tmp/deploy/images/qemux86-64
43pushd tmp/deploy/images/qemux86-64 44pushd tmp/deploy/images/qemux86-64