summaryrefslogtreecommitdiffstats
path: root/classes/staging.bbclass
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-08-20 11:20:09 -0700
committerTom Rini <tom_rini@mentor.com>2010-08-20 11:20:09 -0700
commit82088cc7fcf7c01a0c702e25146f6a01bb369215 (patch)
tree6564cf002823278ace66a5cce6d972422dd06dd5 /classes/staging.bbclass
parent09c0bb89e2d4a6b9e4ba57b97b1bede59e3bd6c4 (diff)
downloadopenembedded-82088cc7fcf7c01a0c702e25146f6a01bb369215.tar.gz
staging, packaged-staging.bbclass: Update call to fastpath
Call fastpath if pstageactive, and don't need to check it again in pstaging's fastpath. Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'classes/staging.bbclass')
-rw-r--r--classes/staging.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/staging.bbclass b/classes/staging.bbclass
index e80644961c..b871226811 100644
--- a/classes/staging.bbclass
+++ b/classes/staging.bbclass
@@ -168,7 +168,8 @@ python do_populate_sysroot () {
#os.system('cp -pPR %s/* %s/' % (dest, sysrootdest))
for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split():
bb.build.exec_func(f, d)
- bb.build.exec_func("packagedstaging_fastpath", d)
+ if pstageactive:
+ bb.build.exec_func("packagedstaging_fastpath", d)
lock = bb.utils.lockfile(lockfile)
os.system(bb.data.expand('cp -pPR ${SYSROOT_DESTDIR}${TMPDIR}/* ${TMPDIR}/', d))