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:31:00 +0000 (23:31 +0100)
Not only outdir had the wrong value, it wasn't used actually used in that function.

(From OE-Core rev: 5db4b53e5d969a6da314904fa2335462947c97ea)

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

index 699d0f2..2a7e164 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