From ff021f693944f528c511957244534d67460dc20c Mon Sep 17 00:00:00 2001 From: Massimo Pennazio Date: Thu, 5 Dec 2024 12:45:58 +0100 Subject: [PATCH] Fixed META_LAYER_DIR path --- recipes-samples/images/lmp-devel-arduino-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-samples/images/lmp-devel-arduino-image.bb b/recipes-samples/images/lmp-devel-arduino-image.bb index d7d6ff1..7aaf958 100644 --- a/recipes-samples/images/lmp-devel-arduino-image.bb +++ b/recipes-samples/images/lmp-devel-arduino-image.bb @@ -63,7 +63,7 @@ CORE_IMAGE_BASE_INSTALL += " \ # Custom task to write git SHA to /etc/os-release write_git_sha() { - META_LAYER_DIR="${BSPDIR}/layers/meta-partner-arduino" + META_LAYER_DIR="${OEROOT}/layers/meta-partner-arduino" GIT_SHA=$(cd ${META_LAYER_DIR} && git rev-parse HEAD) echo "META_LAYER_GIT_SHA=${GIT_SHA}" >> ${IMAGE_ROOTFS}/etc/os-release }