summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-22 11:41:00 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-22 11:44:28 +0100
commit897a8b5abc3ce3af89c78aa4ce4522487c75f38c (patch)
treec13c7a92c022cb178399a8b9d9795b88b4794412
parentdc807f54f858419f97e211cd62fd2d30db9a80de (diff)
downloadopenembedded-core-897a8b5abc3ce3af89c78aa4ce4522487c75f38c.tar.gz
openembedded-core-897a8b5abc3ce3af89c78aa4ce4522487c75f38c.tar.bz2
openembedded-core-897a8b5abc3ce3af89c78aa4ce4522487c75f38c.tar.xz
openembedded-core-897a8b5abc3ce3af89c78aa4ce4522487c75f38c.zip
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>
-rw-r--r--meta/classes/packaged-staging.bbclass5
-rw-r--r--meta/packages/stage-manager/stagemanager-native_0.0.1.bb26
-rwxr-xr-xscripts/stage-manager (renamed from meta/packages/stage-manager/files/stage-manager)0
-rwxr-xr-xscripts/stage-manager-ipkg (renamed from meta/packages/stage-manager/files/stage-manager-ipkg)0
-rwxr-xr-xscripts/stage-manager-ipkg-build (renamed from meta/packages/stage-manager/files/stage-manager-ipkg-build)0
5 files changed, 0 insertions, 31 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index bd2dc1652..fe4d93870 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -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 ""
diff --git a/meta/packages/stage-manager/stagemanager-native_0.0.1.bb b/meta/packages/stage-manager/stagemanager-native_0.0.1.bb
deleted file mode 100644
index d6c1b8cf5..000000000
--- a/meta/packages/stage-manager/stagemanager-native_0.0.1.bb
+++ /dev/null
@@ -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}
-}
diff --git a/meta/packages/stage-manager/files/stage-manager b/scripts/stage-manager
index 536d1afda..536d1afda 100755
--- a/meta/packages/stage-manager/files/stage-manager
+++ b/scripts/stage-manager
diff --git a/meta/packages/stage-manager/files/stage-manager-ipkg b/scripts/stage-manager-ipkg
index 2559fdbcd..2559fdbcd 100755
--- a/meta/packages/stage-manager/files/stage-manager-ipkg
+++ b/scripts/stage-manager-ipkg
diff --git a/meta/packages/stage-manager/files/stage-manager-ipkg-build b/scripts/stage-manager-ipkg-build
index 77367ac35..77367ac35 100755
--- a/meta/packages/stage-manager/files/stage-manager-ipkg-build
+++ b/scripts/stage-manager-ipkg-build