summaryrefslogtreecommitdiff
path: root/classes/mlinux-image.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/mlinux-image.bbclass')
-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)