diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util index 2427f10d89..900c27af68 100755 --- a/scripts/oe-pkgdata-util +++ b/scripts/oe-pkgdata-util @@ -112,6 +112,8 @@ def glob(args): fwdfile = fwdpkgdata(mappedpkg) if os.path.exists(fwdfile): mappedpkg = readrenamed(fwdfile) + if not os.path.exists(fwdfile + ".packaged"): + mappedpkg = "" else: # That didn't work, so now get the PN, substitute that, then map in the other direction revlink = revpkgdata(pkg) @@ -121,6 +123,8 @@ def glob(args): fwdfile = fwdpkgdata(newpkg) if os.path.exists(fwdfile): mappedpkg = readrenamed(fwdfile) + if not os.path.exists(fwdfile + ".packaged"): + mappedpkg = "" else: # Package doesn't even exist... if debug: