mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
packaged-staging.bbclass: Fix accidental debug addition
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -92,8 +92,7 @@ def pstage_manualclean(srcname, destvarname, d):
|
|||||||
if (file == "staging.lock"):
|
if (file == "staging.lock"):
|
||||||
continue
|
continue
|
||||||
filepath = os.path.join(walkroot, file).replace(src, dest)
|
filepath = os.path.join(walkroot, file).replace(src, dest)
|
||||||
bb.note("rm %s" % filepath)
|
os.system("rm %s 2> /dev/null" % filepath)
|
||||||
os.system("rm %s" % filepath)
|
|
||||||
|
|
||||||
def pstage_set_pkgmanager(d):
|
def pstage_set_pkgmanager(d):
|
||||||
import bb
|
import bb
|
||||||
@@ -176,16 +175,11 @@ python packagestage_scenefunc () {
|
|||||||
|
|
||||||
bb.build.exec_func("staging_helper", d)
|
bb.build.exec_func("staging_helper", d)
|
||||||
|
|
||||||
bb.note("Here 1\n")
|
|
||||||
|
|
||||||
removepkg = bb.data.expand("${PSTAGE_PKGPN}", d)
|
removepkg = bb.data.expand("${PSTAGE_PKGPN}", d)
|
||||||
|
|
||||||
bb.note("Here 1.1\n")
|
|
||||||
pstage_cleanpackage(removepkg, d)
|
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):
|
if os.path.exists(stagepkg):
|
||||||
path = bb.data.getVar("PATH", d, 1)
|
path = bb.data.getVar("PATH", d, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user