From e2ae9b10a5fd2f58b591e35d6a588d75e17923bc Mon Sep 17 00:00:00 2001 From: Mykola Salomatin Date: Thu, 13 Jan 2022 17:00:21 +0200 Subject: [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. --- recipes-core/mlinux/mlinux-version.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-core') 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() -- cgit v1.2.3