init.sh: fix unintended git string for workdir

This commit is contained in:
2025-07-08 22:09:34 +02:00
parent 061053c7b5
commit 1fd7cb62fc

View File

@@ -152,7 +152,7 @@ fi
## Layer sources
YOCTO_GIT_URL="https://github.com/yoctoproject/poky.git"
POKY="$(basename $YOCTO_GIT_URL)"
POKY="$(basename $YOCTO_GIT_URL .git)"
POKY_NAME="$IMAGE_VERSION" #TODO
BUILD_ROOT_DIR="$BASEPATH/$POKY-$IMAGE_VERSION"
BUILD_ROOT="$BUILD_ROOT_DIR/build"