summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authorMykola Salomatin <mykola.salomatin@globallogic.com>2022-01-13 17:00:21 +0200
committerJohn Klug <john.klug@multitech.com>2022-05-26 10:00:50 -0500
commite2ae9b10a5fd2f58b591e35d6a588d75e17923bc (patch)
tree4e625429cbda2f98f9d5b9131725bc7b83fb3ba7 /recipes-core
parent475ae9c3f3ba6ce4b2442ce1e56cc1cb20855ddd (diff)
downloadmeta-mlinux-e2ae9b10a5fd2f58b591e35d6a588d75e17923bc.tar.gz
meta-mlinux-e2ae9b10a5fd2f58b591e35d6a588d75e17923bc.tar.bz2
meta-mlinux-e2ae9b10a5fd2f58b591e35d6a588d75e17923bc.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.
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/mlinux/mlinux-version.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/mlinux/mlinux-version.bb b/recipes-core/mlinux/mlinux-version.bb
index 924b3e0..3960f47 100644
--- a/recipes-core/mlinux/mlinux-version.bb
+++ b/recipes-core/mlinux/mlinux-version.bb
@@ -25,7 +25,7 @@ image_version = "${@define_iv(d)}"
def define_iv(d):
import subprocess
- source_dir = d.getVar('TOPDIR',True) + "/.."
+ source_dir = d.getVar('OEROOT',True)
cmd = "git describe"
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True, cwd=source_dir)
out, err = proc.communicate()