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:
parent
d89b641578
commit
668ae67a4f
|
@ -1,4 +1,4 @@
|
|||
DEPENDS_append = " update-rc.d"
|
||||
DEPENDS_append = " update-rc.d-native"
|
||||
RDEPENDS_${PN}_append = " update-rc.d"
|
||||
|
||||
INITSCRIPT_PARAMS ?= "defaults"
|
||||
|
|
|
@ -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"
|
Loading…
Reference in New Issue