summaryrefslogtreecommitdiffstats
path: root/meta
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 /meta
parentd89b641578a4b3ef3dbe168e59e47cf6d4f1cc5d (diff)
downloadpoky-668ae67a4fa15e65e26d1c5f480061fe07e4b9db.tar.gz
update-rc.d: Add native version, add native dependency to class, convert staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-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 @@
1DEPENDS_append = " update-rc.d" 1DEPENDS_append = " update-rc.d-native"
2RDEPENDS_${PN}_append = " update-rc.d" 2RDEPENDS_${PN}_append = " update-rc.d"
3 3
4INITSCRIPT_PARAMS ?= "defaults" 4INITSCRIPT_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"
13do_compile() { 13do_compile() {
14} 14}
15 15
16do_stage() { 16NATIVE_INSTALL_WORKS = "1"
17 install -m 0755 ${S}/update-rc.d ${STAGING_BINDIR_NATIVE}/
18}
19
20do_install() { 17do_install() {
21 install -d ${D}${sbindir} 18 install -d ${D}${sbindir}
22 install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d 19 install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d
23} 20}
21
22BBCLASSEXTEND = "native" \ No newline at end of file