summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index 3c11890..9eb9bad 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -32,8 +32,9 @@ def setUpModule():
32 # This helps us match exactly when we're using this path later 32 # This helps us match exactly when we're using this path later
33 canonical_layerpath += '/' 33 canonical_layerpath += '/'
34 if not edited_layers and canonical_layerpath.endswith('/meta/'): 34 if not edited_layers and canonical_layerpath.endswith('/meta/'):
35 canonical_layerpath = os.path.realpath(canonical_layerpath) + '/'
35 edited_layers.append(layerpath) 36 edited_layers.append(layerpath)
36 oldmetapath = layerpath 37 oldmetapath = os.path.realpath(layerpath)
37 result = runCmd('git rev-parse --show-toplevel', cwd=canonical_layerpath) 38 result = runCmd('git rev-parse --show-toplevel', cwd=canonical_layerpath)
38 oldreporoot = result.output.rstrip() 39 oldreporoot = result.output.rstrip()
39 newmetapath = os.path.join(corecopydir, os.path.relpath(oldmetapath, oldreporoot)) 40 newmetapath = os.path.join(corecopydir, os.path.relpath(oldmetapath, oldreporoot))