Patchwork classes/package_rpm: remove unsed outdir variable

login
register
mail settings
Submitter Stanacar, StefanX
Date Sept. 11, 2013, 6:36 p.m.
Message ID <1378924579-22548-1-git-send-email-stefanx.stanacar@intel.com>
Download mbox | patch
Permalink /patch/57839/
State Accepted
Commit 83b90e54be706ff7a68385d72340ee558e4360ef
Headers show

Comments

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

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