diff options
Diffstat (limited to 'packer')
-rw-r--r-- | packer/provision/agl_dependencies.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh index 26a5dcb5..fa2113ac 100644 --- a/packer/provision/agl_dependencies.sh +++ b/packer/provision/agl_dependencies.sh @@ -33,6 +33,15 @@ cat <<EOFHOSTS >> /etc/hosts EOFHOSTS +cat <<EOFSYSCTL >> /etc/sysctl.conf +# we have a lot of make jobs, this helps a lot +kernel.sched_child_runs_first = 1 +# smooth over a lot of I/O requests and do less blocking +vm.dirty_background_ratio = 5 +vm.dirty_ratio = 80 + +EOFSYSCTL + # clone lava-boot to /opt/AGL/ mkdir -p /opt/AGL/ cd /opt/AGL/ @@ -41,7 +50,8 @@ cd lava-boot sed -i '16iimport ssl' lava-boot sed -i '17issl._create_default_https_context = ssl._create_unverified_context' lava-boot - +# AGL specific lab integration. To be moved into git repo and cloned or the like. +################################################################################# mkdir -p /opt/AGL/lava-agl/ cat <<EOFBR >> /opt/AGL/lava-agl/boardready.py #!/usr/bin/python |