[oe-commits] Stefan Stanacar : classes/package_rpm: remove unsed outdir variable

git at git.openembedded.org git at git.openembedded.org
Wed Sep 11 22:19:14 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 5db4b53e5d969a6da314904fa2335462947c97ea
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5db4b53e5d969a6da314904fa2335462947c97ea

Author: Stefan Stanacar <stefanx.stanacar at intel.com>
Date:   Wed Sep 11 21:36:19 2013 +0300

classes/package_rpm: remove unsed outdir variable

Not only outdir had the wrong value, it wasn't used actually used in that function.

Signed-off-by: Stefan Stanacar <stefanx.stanacar at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 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
 



More information about the Openembedded-commits mailing list