summaryrefslogtreecommitdiff
path: root/meta/classes/packaged-staging.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-08 17:36:08 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-08 17:36:08 +0100
commitf1619b3567027956fc452fa421f1b96ffcdedbcb (patch)
treed38142aef4c6c9f14565ecf1ceb7aa1352876ad9 /meta/classes/packaged-staging.bbclass
parent7c0eb934b431d92adcb09fe90af1007cad0bd5fb (diff)
downloadopenembedded-core-f1619b3567027956fc452fa421f1b96ffcdedbcb.tar.gz
openembedded-core-f1619b3567027956fc452fa421f1b96ffcdedbcb.tar.bz2
openembedded-core-f1619b3567027956fc452fa421f1b96ffcdedbcb.tar.xz
openembedded-core-f1619b3567027956fc452fa421f1b96ffcdedbcb.zip
packaged-staging.bbclass: Fix accidental debug addition
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/packaged-staging.bbclass')
-rw-r--r--meta/classes/packaged-staging.bbclass10
1 files changed, 2 insertions, 8 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index 094aa5979..9b9ba16bf 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -92,8 +92,7 @@ def pstage_manualclean(srcname, destvarname, d):
if (file == "staging.lock"):
continue
filepath = os.path.join(walkroot, file).replace(src, dest)
- bb.note("rm %s" % filepath)
- os.system("rm %s" % filepath)
+ os.system("rm %s 2> /dev/null" % filepath)
def pstage_set_pkgmanager(d):
import bb
@@ -176,16 +175,11 @@ python packagestage_scenefunc () {
bb.build.exec_func("staging_helper", d)
- bb.note("Here 1\n")
-
removepkg = bb.data.expand("${PSTAGE_PKGPN}", d)
- bb.note("Here 1.1\n")
pstage_cleanpackage(removepkg, d)
- bb.note("Here 1.2\n")
- stagepkg = bb.data.expand("${PSTAGE_PKG}", d)
- bb.note("Here 2 %s\n"% stagepkg)
+ stagepkg = bb.data.expand("${PSTAGE_PKG}", d)
if os.path.exists(stagepkg):
path = bb.data.getVar("PATH", d, 1)