From: Richard Purdie Date: Tue, 21 Nov 2017 17:56:40 +0000 (+0000) Subject: runqemu: Also specialcase resolution of '.' to the file's location X-Git-Tag: uninative-1.8~1073 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=33418ed064fe9cff5b4803f09135a81d9170c189;p=openembedded-core.git runqemu: Also specialcase resolution of '.' to the file's location Similarly to handling "../", handle "." to resovle to the qemuconf file's current directory. Signed-off-by: Richard Purdie --- diff --git a/scripts/runqemu b/scripts/runqemu index b09cf1ceb8..cd9443595b 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -728,6 +728,8 @@ class BaseConfig(object): k_upper = k.upper() if v.startswith("../"): v = os.path.abspath(os.path.dirname(self.qemuboot) + "/" + v) + elif v == ".": + v = os.path.dirname(self.qemuboot) self.set(k_upper, v) def validate_paths(self):