summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/packaged-staging.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index efc9aa6ce8..2223ea18d1 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -114,7 +114,7 @@ def pstage_cleanpackage(pkgname, d):
114 if ret == 0: 114 if ret == 0:
115 bb.note("Yes. Uninstalling package from staging...") 115 bb.note("Yes. Uninstalling package from staging...")
116 removecmd = bb.data.getVar("PSTAGE_REMOVE_CMD", d, 1) 116 removecmd = bb.data.getVar("PSTAGE_REMOVE_CMD", d, 1)
117 ret = os.system("PATH=\"%s\" %s %s" % (path, removecmd, removepkg)) 117 ret = os.system("PATH=\"%s\" %s %s" % (path, removecmd, pkgname))
118 if ret != 0: 118 if ret != 0:
119 bb.note("Failure removing staging package") 119 bb.note("Failure removing staging package")
120 else: 120 else: