diff options
-rw-r--r-- | meta/classes/package_rpm.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 699d0f200a..2a7e1642f8 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -1079,11 +1079,10 @@ python do_package_rpm () { | |||
1079 | return name | 1079 | return name |
1080 | 1080 | ||
1081 | workdir = d.getVar('WORKDIR', True) | 1081 | workdir = d.getVar('WORKDIR', True) |
1082 | outdir = d.getVar('DEPLOY_DIR_IPK', True) | ||
1083 | tmpdir = d.getVar('TMPDIR', True) | 1082 | tmpdir = d.getVar('TMPDIR', True) |
1084 | pkgd = d.getVar('PKGD', True) | 1083 | pkgd = d.getVar('PKGD', True) |
1085 | pkgdest = d.getVar('PKGDEST', True) | 1084 | pkgdest = d.getVar('PKGDEST', True) |
1086 | if not workdir or not outdir or not pkgd or not tmpdir: | 1085 | if not workdir or not pkgd or not tmpdir: |
1087 | bb.error("Variables incorrectly set, unable to package") | 1086 | bb.error("Variables incorrectly set, unable to package") |
1088 | return | 1087 | return |
1089 | 1088 | ||