summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/autobuilder-worker-prereq-tests15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/autobuilder-worker-prereq-tests b/scripts/autobuilder-worker-prereq-tests
index 3956349b30..572227dccd 100755
--- a/scripts/autobuilder-worker-prereq-tests
+++ b/scripts/autobuilder-worker-prereq-tests
@@ -51,6 +51,21 @@ if (( $WATCHES < 65000 )); then
51 echo 'Need to increase watches (echo fs.inotify.max_user_watches=65536 | sudo tee -a /etc/sysctl.conf' 51 echo 'Need to increase watches (echo fs.inotify.max_user_watches=65536 | sudo tee -a /etc/sysctl.conf'
52 exit 1 52 exit 1
53fi 53fi
54OPEN_FILES=$(ulimit -n)
55if (( $OPEN_FILES < 65535 )); then
56 echo 'Increase maximum open files in /etc/security/limits.conf'
57 echo '* soft nofile 131072'
58 echo '* hard nofile 131072'
59 exit 1
60fi
61MAX_PROCESSES=$(ulimit -u)
62if (( $MAX_PROCESSES < 514542 )); then
63 echo 'Increase maximum user processes in /etc/security/limits.conf'
64 echo '* hard nproc 515294'
65 echo '* soft nproc 514543'
66 exit 1
67fi
68
54mkdir -p tmp/deploy/images/qemux86-64 69mkdir -p tmp/deploy/images/qemux86-64
55pushd tmp/deploy/images/qemux86-64 70pushd tmp/deploy/images/qemux86-64
56if [ ! -e core-image-minimal-qemux86-64.ext4 ]; then 71if [ ! -e core-image-minimal-qemux86-64.ext4 ]; then