Skip to content

Commit

Permalink
scripts: kas: add a few container customizations
Browse files Browse the repository at this point in the history
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 <thomas.perrot@bootlin.com>
  • Loading branch information
tprrt committed Mar 16, 2023
1 parent f81f534 commit eef39ef
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/kas/include/container.yml
Original file line number Diff line number Diff line change
@@ -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%"

0 comments on commit eef39ef

Please sign in to comment.