summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy.Li <rongqing.li@windriver.com>2012-07-24 09:33:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-28 09:20:51 +0100
commit76df4493996c5b0f5c372e527a57b4e9ffe6b797 (patch)
tree7597e609b45c5dc492a8ca74c89ad48e4a002725
parent520c5d9bda1b39c1f489094b7eee2e6ca1fbcd4f (diff)
downloadpoky-76df4493996c5b0f5c372e527a57b4e9ffe6b797.tar.gz
insserv: define do_install_virtclass-native()
[YOCTO #2812] Since files installation dirs are DESTDIR/etc/, DESTDIR/sbin etc in Makefile, not DESTDIR/${sysconfdir}/, DESTDIR/${sbindir}/, for the native package, a prefix can not be inserted which is needed when do the next step of install and do_populate_sysroot. Now we define do_install_virtclass-native in which DESTDIR is ${D}/${STAGING_DIR_NATIVE} (From OE-Core rev: bb80a5f6f383d874b314af4263695e5a6b2d84cb) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/insserv/insserv_1.14.0.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-devtools/insserv/insserv_1.14.0.bb b/meta/recipes-devtools/insserv/insserv_1.14.0.bb
index b3ddec37bd..c424a154fe 100644
--- a/meta/recipes-devtools/insserv/insserv_1.14.0.bb
+++ b/meta/recipes-devtools/insserv/insserv_1.14.0.bb
@@ -6,7 +6,7 @@ SECTION = "base"
6LICENSE = "GPLv2" 6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 7LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
8 8
9PR = "r0" 9PR = "r1"
10 10
11SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${BPN}-${PV}.tar.bz2 \ 11SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${BPN}-${PV}.tar.bz2 \
12 file://makefile.patch \ 12 file://makefile.patch \
@@ -21,4 +21,9 @@ do_install () {
21 install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf 21 install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf
22} 22}
23 23
24do_install_virtclass-native () {
25 oe_runmake 'DESTDIR=${D}/${STAGING_DIR_NATIVE}' install
26 install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf
27}
28
24BBCLASSEXTEND = "native" 29BBCLASSEXTEND = "native"