[isar-cip-core][PATCH 1/2] start-qemu.sh: Add defaults for IMAGE_SECURITY


Quirin Gylstorff
 

From: Quirin Gylstorff <quirin.gylstorff@...>

for ease of use

Suggested-by: Jan Kiszka <jan.kiszka@...>
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@...>
---
start-qemu.sh | 3 +++
1 file changed, 3 insertions(+)

diff --git a/start-qemu.sh b/start-qemu.sh
index 4817790..a92e9f4 100755
--- a/start-qemu.sh
+++ b/start-qemu.sh
@@ -40,6 +40,9 @@ fi

if [ -z "${TARGET_IMAGE}" ];then
TARGET_IMAGE="cip-core-image"
+ if grep -s -q "IMAGE_SECURITY: true" .config.yaml; then
+ TARGET_IMAGE="cip-core-image-security"
+ fi
fi

case "$1" in
--
2.30.2

Join cip-dev@lists.cip-project.org to automatically receive all group messages.