summaryrefslogtreecommitdiffstats
path: root/meta/classes/packaged-staging.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/packaged-staging.bbclass')
-rw-r--r--meta/classes/packaged-staging.bbclass33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index fe4d938709..650d38bee4 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -288,31 +288,6 @@ python packagedstage_stampfixing_eventhandler() {
288 return NotHandled 288 return NotHandled
289} 289}
290 290
291populate_sysroot_preamble () {
292 if [ "$PSTAGING_ACTIVE" = "1" ]; then
293 stage-manager -p ${STAGING_DIR} -c ${PSTAGE_WORKDIR}/stamp-cache-staging -u || true
294 fi
295}
296
297populate_sysroot_postamble () {
298 if [ "$PSTAGING_ACTIVE" = "1" ]; then
299 # list the packages currently installed in staging
300 # ${PSTAGE_LIST_CMD} | awk '{print $1}' > ${PSTAGE_WORKDIR}/installed-list
301
302 # exitcode == 5 is ok, it means the files change
303 set +e
304 stage-manager -p ${STAGING_DIR} -c ${PSTAGE_WORKDIR}/stamp-cache-staging -u -d ${PSTAGE_TMPDIR_STAGE}/sysroots
305 exitcode=$?
306 if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then
307 exit $exitcode
308 fi
309 if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then
310 exit $exitcode
311 fi
312 set -e
313 fi
314}
315
316packagedstaging_fastpath () { 291packagedstaging_fastpath () {
317 if [ "$PSTAGING_ACTIVE" = "1" ]; then 292 if [ "$PSTAGING_ACTIVE" = "1" ]; then
318 mkdir -p ${PSTAGE_TMPDIR_STAGE}/sysroots/ 293 mkdir -p ${PSTAGE_TMPDIR_STAGE}/sysroots/
@@ -321,14 +296,6 @@ packagedstaging_fastpath () {
321} 296}
322 297
323do_populate_sysroot[dirs] =+ "${PSTAGE_DIR}" 298do_populate_sysroot[dirs] =+ "${PSTAGE_DIR}"
324python populate_sysroot_prehook() {
325 bb.build.exec_func("populate_sysroot_preamble", d)
326}
327
328python populate_sysroot_posthook() {
329 bb.build.exec_func("populate_sysroot_postamble", d)
330}
331
332 299
333staging_packager () { 300staging_packager () {
334 301