summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-16 22:00:22 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-16 22:00:22 +0000
commit668ae67a4fa15e65e26d1c5f480061fe07e4b9db (patch)
treef917106e065295e6c365be39aee077760e56ff1d
parentd89b641578a4b3ef3dbe168e59e47cf6d4f1cc5d (diff)
downloadopenembedded-core-668ae67a4fa15e65e26d1c5f480061fe07e4b9db.tar.gz
openembedded-core-668ae67a4fa15e65e26d1c5f480061fe07e4b9db.tar.bz2
openembedded-core-668ae67a4fa15e65e26d1c5f480061fe07e4b9db.zip
update-rc.d: Add native version, add native dependency to class, convert staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/classes/update-rc.d.bbclass2
-rw-r--r--meta/packages/update-rc.d/update-rc.d/add-verbose.patch (renamed from meta/packages/update-rc.d/files/add-verbose.patch)0
-rw-r--r--meta/packages/update-rc.d/update-rc.d_0.7.bb7
3 files changed, 4 insertions, 5 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 5a8062cc7c..0c648edb4d 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -1,4 +1,4 @@
-DEPENDS_append = " update-rc.d"
+DEPENDS_append = " update-rc.d-native"
RDEPENDS_${PN}_append = " update-rc.d"
INITSCRIPT_PARAMS ?= "defaults"
diff --git a/meta/packages/update-rc.d/files/add-verbose.patch b/meta/packages/update-rc.d/update-rc.d/add-verbose.patch
index 0f068308f6..0f068308f6 100644
--- a/meta/packages/update-rc.d/files/add-verbose.patch
+++ b/meta/packages/update-rc.d/update-rc.d/add-verbose.patch
diff --git a/meta/packages/update-rc.d/update-rc.d_0.7.bb b/meta/packages/update-rc.d/update-rc.d_0.7.bb
index dd370e6ff8..362f8603c4 100644
--- a/meta/packages/update-rc.d/update-rc.d_0.7.bb
+++ b/meta/packages/update-rc.d/update-rc.d_0.7.bb
@@ -13,11 +13,10 @@ PACKAGE_ARCH = "all"
do_compile() {
}
-do_stage() {
- install -m 0755 ${S}/update-rc.d ${STAGING_BINDIR_NATIVE}/
-}
-
+NATIVE_INSTALL_WORKS = "1"
do_install() {
install -d ${D}${sbindir}
install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d
}
+
+BBCLASSEXTEND = "native" \ No newline at end of file