[RFC cip-dev][isar-cip-core][PATCH 11/14] layer.conf: use variables to control path of hardening config

Quirin Gylstorff <[email protected]> Mon, 27 Jul 2026 15:13:05 +0200
Newsgroups org.cip-project.lists.cip-dev
Message-ID <[email protected]>
Co-Authored-by: Felix Moessbauer <[email protected]>
Signed-off-by: Quirin Gylstorff <[email protected]>
---
 conf/layer.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index c51c3af..61e25b2 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -23,4 +23,7 @@ LAYERSERIES_COMPAT_cip-core =3D "next"
 LAYERDIR_cip-core =3D "${LAYERDIR}"
 LAYERDIR_cip-core[vardepvalue] =3D "isar-cip-core"
=20
+CIP_CIS_HARDENING_CONFIG ??=3D "${DISTRO}-hardening.config.json"
+CIP_CIS_HARDENING_KCONFIG ??=3D "${DISTRO}-hardening.kernel.cfg"
+
 IMAGE_CLASSES +=3D "squashfs erofs verity swupdate delta-update qemu-emmc"
--=20
2.53.0