mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +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:
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
Reference in New Issue
Block a user