diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-08 17:36:08 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-08 17:36:08 +0100 |
commit | f1619b3567027956fc452fa421f1b96ffcdedbcb (patch) | |
tree | d38142aef4c6c9f14565ecf1ceb7aa1352876ad9 /meta | |
parent | 7c0eb934b431d92adcb09fe90af1007cad0bd5fb (diff) | |
download | poky-f1619b3567027956fc452fa421f1b96ffcdedbcb.tar.gz |
packaged-staging.bbclass: Fix accidental debug addition
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/packaged-staging.bbclass | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass index 094aa5979f..9b9ba16bff 100644 --- a/meta/classes/packaged-staging.bbclass +++ b/meta/classes/packaged-staging.bbclass | |||
@@ -92,8 +92,7 @@ def pstage_manualclean(srcname, destvarname, d): | |||
92 | if (file == "staging.lock"): | 92 | if (file == "staging.lock"): |
93 | continue | 93 | continue |
94 | filepath = os.path.join(walkroot, file).replace(src, dest) | 94 | filepath = os.path.join(walkroot, file).replace(src, dest) |
95 | bb.note("rm %s" % filepath) | 95 | os.system("rm %s 2> /dev/null" % filepath) |
96 | os.system("rm %s" % filepath) | ||
97 | 96 | ||
98 | def pstage_set_pkgmanager(d): | 97 | def pstage_set_pkgmanager(d): |
99 | import bb | 98 | import bb |
@@ -176,16 +175,11 @@ python packagestage_scenefunc () { | |||
176 | 175 | ||
177 | bb.build.exec_func("staging_helper", d) | 176 | bb.build.exec_func("staging_helper", d) |
178 | 177 | ||
179 | bb.note("Here 1\n") | ||
180 | |||
181 | removepkg = bb.data.expand("${PSTAGE_PKGPN}", d) | 178 | removepkg = bb.data.expand("${PSTAGE_PKGPN}", d) |
182 | 179 | ||
183 | bb.note("Here 1.1\n") | ||
184 | pstage_cleanpackage(removepkg, d) | 180 | pstage_cleanpackage(removepkg, d) |
185 | bb.note("Here 1.2\n") | ||
186 | stagepkg = bb.data.expand("${PSTAGE_PKG}", d) | ||
187 | 181 | ||
188 | bb.note("Here 2 %s\n"% stagepkg) | 182 | stagepkg = bb.data.expand("${PSTAGE_PKG}", d) |
189 | 183 | ||
190 | if os.path.exists(stagepkg): | 184 | if os.path.exists(stagepkg): |
191 | path = bb.data.getVar("PATH", d, 1) | 185 | path = bb.data.getVar("PATH", d, 1) |