classes/package_rpm: remove unsed outdir variable

Submitted by Stanacar, StefanX on Sept. 11, 2013, 6:36 p.m.

Details

Message ID 1378924579-22548-1-git-send-email-stefanx.stanacar@intel.com
State Accepted
Commit 5db4b53e5d969a6da314904fa2335462947c97ea
Headers show

Commit Message

Stanacar, StefanX Sept. 11, 2013, 6:36 p.m.
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>
---
 meta/classes/package_rpm.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 699d0f2..2a7e164 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -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