kas: update configuration

Changes:
- switch to scarthgap
- add required usrmerge feature to kas-security-alt configuration
- add whitespaces around assignement
- add common dldir/sstate
- don't build apparmor in musl configus
- only enable ptest for the test image

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
(squashed and recent master changes backported)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
This commit is contained in:
Marta Rybczynska
2025-07-01 08:46:47 +02:00
committed by Scott Murray
parent dbd0761fd6
commit da3b5d09cd
6 changed files with 18 additions and 6 deletions

View File

@@ -5,4 +5,4 @@ header:
local_conf_header:
alt: |
DISTRO_FEATURES:append = " systemd"
INIT_MANAGER = "systemd"

View File

@@ -13,7 +13,7 @@ repos:
poky:
url: https://git.yoctoproject.org/git/poky
refspec: master
refspec: scarthgap
layers:
meta:
meta-poky:
@@ -21,7 +21,7 @@ repos:
meta-openembedded:
url: http://git.openembedded.org/meta-openembedded
refspec: master
refspec: scarthgap
layers:
meta-oe:
meta-perl:
@@ -36,8 +36,8 @@ local_conf_header:
INHERIT += "buildstats buildstats-summary buildhistory"
INHERIT += "report-error"
IMAGE_CLASSES += "testimage"
BB_NUMBER_THREADS="24"
BB_NUMBER_PARSE_THREADS="12"
BB_NUMBER_THREADS = "24"
BB_NUMBER_PARSE_THREADS = "12"
BB_TASK_NICE_LEVEL = '5'
BB_TASK_NICE_LEVEL_task-testimage = '0'
BB_TASK_IONICE_LEVEL = '2.7'
@@ -47,6 +47,7 @@ local_conf_header:
PACKAGE_CLASSES = "package_ipk"
DISTRO_FEATURES:append = " security pam apparmor smack ima tpm tpm2"
DISTRO_FEATURES:remove = "ptest"
MACHINE_FEATURES:append = " tpm tpm2"
diskmon: |
@@ -60,6 +61,10 @@ local_conf_header:
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"
dlsstate: |
DL_DIR = "/home/gitlab-runner/build/downloads"
SSTATE_DIR = "/home/gitlab-runner/build/sstate-cache"
bblayers_conf_header:
base: |
BBPATH = "${TOPDIR}"

View File

@@ -10,7 +10,7 @@ repos:
meta-clang:
url: https://github.com/kraj/meta-clang.git
refspec: master
refspec: scarthgap
local_conf_header:
meta-parsec: |

View File

@@ -6,5 +6,6 @@ header:
local_conf_header:
musl: |
TCLIBC = "musl"
DISTRO_FEATURES:remove = "apparmor"
machine: qemuarm64

View File

@@ -6,5 +6,6 @@ header:
local_conf_header:
musl: |
TCLIBC = "musl"
DISTRO_FEATURES:remove = "apparmor"
machine: qemux86

View File

@@ -3,4 +3,9 @@ header:
includes:
- kas-security-base.yml
local_conf_header:
ptest: |
DISTRO_FEATURES:append = " ptest"
EXTRA_IMAGE_FEATURES:append = " allow-empty-password allow-root-login empty-root-password"
machine: qemux86