diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 5ddd6c66ea..fdf326205b 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -133,17 +133,12 @@ python do_package_ipk () { | |||
133 | 133 | ||
134 | workdir = bb.data.getVar('WORKDIR', d, True) | 134 | workdir = bb.data.getVar('WORKDIR', d, True) |
135 | outdir = bb.data.getVar('PKGWRITEDIRIPK', d, True) | 135 | outdir = bb.data.getVar('PKGWRITEDIRIPK', d, True) |
136 | dvar = bb.data.getVar('D', d, True) | ||
137 | tmpdir = bb.data.getVar('TMPDIR', d, True) | 136 | tmpdir = bb.data.getVar('TMPDIR', d, True) |
138 | pkgdest = bb.data.getVar('PKGDEST', d, True) | 137 | pkgdest = bb.data.getVar('PKGDEST', d, True) |
139 | if not workdir or not outdir or not dvar or not tmpdir: | 138 | if not workdir or not outdir or not tmpdir: |
140 | bb.error("Variables incorrectly set, unable to package") | 139 | bb.error("Variables incorrectly set, unable to package") |
141 | return | 140 | return |
142 | 141 | ||
143 | if not os.path.exists(dvar): | ||
144 | bb.debug(1, "Nothing installed, nothing to do") | ||
145 | return | ||
146 | |||
147 | packages = bb.data.getVar('PACKAGES', d, True) | 142 | packages = bb.data.getVar('PACKAGES', d, True) |
148 | if not packages or packages == '': | 143 | if not packages or packages == '': |
149 | bb.debug(1, "No packages; nothing to do") | 144 | bb.debug(1, "No packages; nothing to do") |