Skip to content

Commit e58e3aa

Browse files
committed
Tweak entry for cmake
1 parent ca30119 commit e58e3aa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ports/zephyr-cp/entrypoint.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,10 @@ path = zephyr-config
3434
base = zephyr
3535
EOF
3636

37+
# Register Zephyr CMake packages for the current user. The Dockerfile ran
38+
# west zephyr-export during build (as root), but CI may run the container as
39+
# a different UID whose ~/.cmake/packages won't have those entries.
40+
cd "${ZEPHYR_WS}" && west zephyr-export 2>/dev/null || true
41+
cd "${PORT_DIR}"
42+
3743
exec "$@"

0 commit comments

Comments
 (0)