From eef39efef97627ba5730cc06674b7b0e698d3438 Mon Sep 17 00:00:00 2001 From: Thomas Perrot Date: Wed, 15 Mar 2023 09:20:50 +0100 Subject: [PATCH] scripts: kas: add a few container customizations Add an additional Kas script that allow to extend the configuration in order to limit the cpu and the memory load on containers or hosts with with restricted ressources. Signed-off-by: Thomas Perrot --- scripts/kas/include/container.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/kas/include/container.yml diff --git a/scripts/kas/include/container.yml b/scripts/kas/include/container.yml new file mode 100644 index 0000000..e003f43 --- /dev/null +++ b/scripts/kas/include/container.yml @@ -0,0 +1,11 @@ +header: + version: 11 + +local_conf_header: + + container: | + BB_NUMBER_THREADS = "4" + PARALLEL_MAKE = "-j 4" + ZSTD_THREADS = "4" + XZ_THREADS = "4" + XZ_MEMLIMIT = "20%"