summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5a8062cc7..0c648edb4 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 0f068308f..0f068308f 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 dd370e6ff..362f8603c 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