summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 34bbc46d2a..b06cca5f57 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1885,7 +1885,7 @@ python do_package () {
dvar = d.getVar('PKGD', True)
pn = d.getVar('PN', True)
- if not workdir or not outdir or not dest or not dvar or not pn or not packages:
+ if not workdir or not outdir or not dest or not dvar or not pn:
bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package")
return