summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykola Salomatin <mykola.salomatin@globallogic.com>2022-01-13 17:03:37 +0200
committerJohn Klug <john.klug@multitech.com>2022-10-19 17:50:50 -0500
commit4417521f65aa25ad335b4ca0bd623bb069681a3e (patch)
tree7c60f637ce87799daf9786c6438eb313ca46c488
parent82862a0989bb832a343bbf929fc612794bfdc728 (diff)
downloadmeta-mlinux-atmel-4417521f65aa25ad335b4ca0bd623bb069681a3e.tar.gz
meta-mlinux-atmel-4417521f65aa25ad335b4ca0bd623bb069681a3e.tar.bz2
meta-mlinux-atmel-4417521f65aa25ad335b4ca0bd623bb069681a3e.zip
[MTX-4319] mPower R.6.0.x: Build process - update scripts to the latest version from Dunfell
Replacing a variable pointing to the root directory due to a change in the build process.
-rw-r--r--classes/mlinux-image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/mlinux-image.bbclass b/classes/mlinux-image.bbclass
index dab5e5b..f89e77a 100644
--- a/classes/mlinux-image.bbclass
+++ b/classes/mlinux-image.bbclass
@@ -15,7 +15,7 @@ ROOTFS_POSTPROCESS_COMMAND += "mlinux_set_root_password;"
# set custom product sw version to /etc/issue file
mlinux_set_product_version () {
PREV_DIR=$(pwd)
- cd "$TOPDIR"
+ cd "${OEROOT}"
PRODUCT_VER=$(git describe)
cd "$PREV_DIR"
PRODUCT_DATE=$(date +%Y-%m-%dT%H:%M:%S)