stagemanager: Move functionality into the scripts directory

Since scripts is now in PATH thanks to the layer functionality there is
no longer any need to have this recipe full of special cases, the scripts
can just be placed there.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-07-22 11:41:00 +01:00
parent dc807f54f8
commit 897a8b5abc
5 changed files with 0 additions and 31 deletions

View File

@ -23,7 +23,6 @@ PSTAGE_SCAN_CMD ?= "find ${PSTAGE_TMPDIR_STAGE} \( -name "*.la" -o -name "*-conf
PSTAGE_NATIVEDEPENDS = "\
shasum-native \
stagemanager-native \
"
BB_STAMP_WHITELIST = "${PSTAGE_NATIVEDEPENDS}"
@ -63,10 +62,6 @@ python () {
# Add task dependencies if we're active, otherwise mark packaged staging
# as inactive.
if pstage_allowed:
deps = bb.data.getVarFlag('do_setscene', 'depends', d) or ""
deps += " stagemanager-native:do_populate_sysroot"
bb.data.setVarFlag('do_setscene', 'depends', deps, d)
policy = bb.data.getVar("BB_STAMP_POLICY", d, True)
if policy == "whitelist" or policy == "full":
deps = bb.data.getVarFlag('do_setscene', 'recrdeptask', d) or ""

View File

@ -1,26 +0,0 @@
DESCRIPTION = "Helper script for packaged-staging.bbclass"
PR = "r9"
SRC_URI = "file://stage-manager \
file://stage-manager-ipkg \
file://stage-manager-ipkg-build "
LICENSE = "GPLv2"
PACKAGE_ARCH = "all"
inherit native
DEPENDS = " "
PACKAGE_DEPENDS = " "
PATCHDEPENDENCY = ""
INHIBIT_DEFAULT_DEPS = "1"
PSTAGING_DISABLED = "1"
# This function is special and allowed to onstall into staging directly
do_install() {
install -d ${STAGING_BINDIR}
install -m 0755 ${WORKDIR}/stage-manager ${STAGING_BINDIR}
install -m 0755 ${WORKDIR}/stage-manager-ipkg ${STAGING_BINDIR}
install -m 0755 ${WORKDIR}/stage-manager-ipkg-build ${STAGING_BINDIR}
}