Skip to content

Commit

Permalink
Fixed META_LAYER_DIR path
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxPayne86 committed Dec 5, 2024
1 parent 9f17c59 commit ff021f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-samples/images/lmp-devel-arduino-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ff021f6

Please sign in to comment.