kas-container: fix isar setup logic
If we run kas-container with --isar flag and did not set build_system, we end up calling both enable_isar_mode and enable_oe_mode. This can trigger: Error: keep-id is only supported in rootless mode Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
b9abbd1e63
commit
1243612a27
@ -382,7 +382,7 @@ fi
|
|||||||
|
|
||||||
if [ "${BUILD_SYSTEM}" = "isar" ]; then
|
if [ "${BUILD_SYSTEM}" = "isar" ]; then
|
||||||
enable_isar_mode
|
enable_isar_mode
|
||||||
else
|
elif [ -z "${ISAR_MODE}" ]; then
|
||||||
enable_oe_mode
|
enable_oe_mode
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user