]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/package_rpm: remove unsed outdir variable
authorStefan Stanacar <stefanx.stanacar@intel.com>
Wed, 11 Sep 2013 18:36:19 +0000 (21:36 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Sep 2013 22:20:50 +0000 (23:20 +0100)
Not only outdir had the wrong value, it wasn't used actually used in that function.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass

index 699d0f200aef64ec61bcdba709c2dee265ec998d..2a7e1642f8f2504966886ca98a478c22c684e033 100644 (file)
@@ -1079,11 +1079,10 @@ python do_package_rpm () {
         return name
 
     workdir = d.getVar('WORKDIR', True)
-    outdir = d.getVar('DEPLOY_DIR_IPK', True)
     tmpdir = d.getVar('TMPDIR', True)
     pkgd = d.getVar('PKGD', True)
     pkgdest = d.getVar('PKGDEST', True)
-    if not workdir or not outdir or not pkgd or not tmpdir:
+    if not workdir or not pkgd or not tmpdir:
         bb.error("Variables incorrectly set, unable to package")
         return