diff options
Diffstat (limited to 'meta/classes-global/package.bbclass')
| -rw-r--r-- | meta/classes-global/package.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index 9be1d6a5b1..d7ff333f20 100644 --- a/meta/classes-global/package.bbclass +++ b/meta/classes-global/package.bbclass | |||
| @@ -494,8 +494,7 @@ python do_package () { | |||
| 494 | pn = d.getVar('PN') | 494 | pn = d.getVar('PN') |
| 495 | 495 | ||
| 496 | if not workdir or not outdir or not dest or not dvar or not pn: | 496 | if not workdir or not outdir or not dest or not dvar or not pn: |
| 497 | msg = "WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package" | 497 | bb.fatal("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package") |
| 498 | oe.qa.handle_error("var-undefined", msg, d) | ||
| 499 | return | 498 | return |
| 500 | 499 | ||
| 501 | bb.build.exec_func("package_setup_pkgv", d) | 500 | bb.build.exec_func("package_setup_pkgv", d) |
