1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

update-rc.d: Add native version, add native dependency to class, convert staging function

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-11-16 22:00:22 +00:00
parent d89b641578
commit 668ae67a4f
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
DEPENDS_append = " update-rc.d" DEPENDS_append = " update-rc.d-native"
RDEPENDS_${PN}_append = " update-rc.d" RDEPENDS_${PN}_append = " update-rc.d"
INITSCRIPT_PARAMS ?= "defaults" INITSCRIPT_PARAMS ?= "defaults"
+3 -4
View File
@@ -13,11 +13,10 @@ PACKAGE_ARCH = "all"
do_compile() { do_compile() {
} }
do_stage() { NATIVE_INSTALL_WORKS = "1"
install -m 0755 ${S}/update-rc.d ${STAGING_BINDIR_NATIVE}/
}
do_install() { do_install() {
install -d ${D}${sbindir} install -d ${D}${sbindir}
install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d
} }
BBCLASSEXTEND = "native"