insserv: Convert to BBCLASSEXTEND, mark do_install as safe for native staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
e2b66cca92
commit
f8eb8a3817
|
@ -1,17 +0,0 @@
|
|||
LICENSE = "GPL"
|
||||
SECTION = "base"
|
||||
|
||||
SRC_URI = "ftp://ftp.suse.com/pub/projects/init/insserv-${PV}.tar.gz \
|
||||
file://40_segfault_virtprov.dpatch;patch=1 \
|
||||
file://42_loopnochangemsg.dpatch;patch=1 \
|
||||
file://make.patch;patch=1 \
|
||||
file://insserv.conf"
|
||||
|
||||
S = "${WORKDIR}/insserv-${PV}"
|
||||
|
||||
inherit native
|
||||
|
||||
do_stage () {
|
||||
oe_runmake 'DESTDIR=${STAGING_DIR_NATIVE}' install
|
||||
install -m0644 ${WORKDIR}/insserv.conf ${STAGING_ETCDIR_NATIVE}/insserv.conf
|
||||
}
|
|
@ -2,14 +2,17 @@ LICENSE = "GPL"
|
|||
SECTION = "base"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${PN}-${PV}.tar.gz \
|
||||
SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${BPN}-${PV}.tar.gz \
|
||||
file://40_segfault_virtprov.dpatch;patch=1 \
|
||||
file://42_loopnochangemsg.dpatch;patch=1 \
|
||||
file://make.patch;patch=1 \
|
||||
file://crosscompile_fix.patch;patch=1 \
|
||||
file://insserv.conf"
|
||||
|
||||
NATIVE_INSTALL_WORKS = "1"
|
||||
do_install () {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf
|
||||
install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
|
Loading…
Reference in New Issue