diff options
Diffstat (limited to 'scripts/oe-pkgdata-util')
| -rwxr-xr-x | scripts/oe-pkgdata-util | 4 |
1 files changed, 4 insertions, 0 deletions
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): | |||
| 112 | fwdfile = fwdpkgdata(mappedpkg) | 112 | fwdfile = fwdpkgdata(mappedpkg) |
| 113 | if os.path.exists(fwdfile): | 113 | if os.path.exists(fwdfile): |
| 114 | mappedpkg = readrenamed(fwdfile) | 114 | mappedpkg = readrenamed(fwdfile) |
| 115 | if not os.path.exists(fwdfile + ".packaged"): | ||
| 116 | mappedpkg = "" | ||
| 115 | else: | 117 | else: |
| 116 | # That didn't work, so now get the PN, substitute that, then map in the other direction | 118 | # That didn't work, so now get the PN, substitute that, then map in the other direction |
| 117 | revlink = revpkgdata(pkg) | 119 | revlink = revpkgdata(pkg) |
| @@ -121,6 +123,8 @@ def glob(args): | |||
| 121 | fwdfile = fwdpkgdata(newpkg) | 123 | fwdfile = fwdpkgdata(newpkg) |
| 122 | if os.path.exists(fwdfile): | 124 | if os.path.exists(fwdfile): |
| 123 | mappedpkg = readrenamed(fwdfile) | 125 | mappedpkg = readrenamed(fwdfile) |
| 126 | if not os.path.exists(fwdfile + ".packaged"): | ||
| 127 | mappedpkg = "" | ||
| 124 | else: | 128 | else: |
| 125 | # Package doesn't even exist... | 129 | # Package doesn't even exist... |
| 126 | if debug: | 130 | if debug: |
