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:
parent
dc807f54f8
commit
897a8b5abc
|
@ -23,7 +23,6 @@ PSTAGE_SCAN_CMD ?= "find ${PSTAGE_TMPDIR_STAGE} \( -name "*.la" -o -name "*-conf
|
||||||
|
|
||||||
PSTAGE_NATIVEDEPENDS = "\
|
PSTAGE_NATIVEDEPENDS = "\
|
||||||
shasum-native \
|
shasum-native \
|
||||||
stagemanager-native \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
BB_STAMP_WHITELIST = "${PSTAGE_NATIVEDEPENDS}"
|
BB_STAMP_WHITELIST = "${PSTAGE_NATIVEDEPENDS}"
|
||||||
|
@ -63,10 +62,6 @@ python () {
|
||||||
# Add task dependencies if we're active, otherwise mark packaged staging
|
# Add task dependencies if we're active, otherwise mark packaged staging
|
||||||
# as inactive.
|
# as inactive.
|
||||||
if pstage_allowed:
|
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)
|
policy = bb.data.getVar("BB_STAMP_POLICY", d, True)
|
||||||
if policy == "whitelist" or policy == "full":
|
if policy == "whitelist" or policy == "full":
|
||||||
deps = bb.data.getVarFlag('do_setscene', 'recrdeptask', d) or ""
|
deps = bb.data.getVarFlag('do_setscene', 'recrdeptask', d) or ""
|
||||||
|
|
|
@ -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}
|
|
||||||
}
|
|
Loading…
Reference in New Issue