summaryrefslogtreecommitdiffstats
path: root/meta/packages/insserv
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-17 21:31:15 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-17 21:31:15 +0000
commitf8eb8a381767f7b7c64c7f190890d874538b7272 (patch)
treec00d8f02bc48ac8be656ac3ac99bfa03cf93dabd /meta/packages/insserv
parente2b66cca92381c81b392ee6414d0e4f2c5593980 (diff)
downloadpoky-f8eb8a381767f7b7c64c7f190890d874538b7272.tar.gz
insserv: Convert to BBCLASSEXTEND, mark do_install as safe for native staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/insserv')
-rw-r--r--meta/packages/insserv/insserv-native_1.11.0.bb17
-rw-r--r--meta/packages/insserv/insserv_1.11.0.bb7
2 files changed, 5 insertions, 19 deletions
diff --git a/meta/packages/insserv/insserv-native_1.11.0.bb b/meta/packages/insserv/insserv-native_1.11.0.bb
deleted file mode 100644
index f46948bb3e..0000000000
--- a/meta/packages/insserv/insserv-native_1.11.0.bb
+++ /dev/null
@@ -1,17 +0,0 @@
1LICENSE = "GPL"
2SECTION = "base"
3
4SRC_URI = "ftp://ftp.suse.com/pub/projects/init/insserv-${PV}.tar.gz \
5 file://40_segfault_virtprov.dpatch;patch=1 \
6 file://42_loopnochangemsg.dpatch;patch=1 \
7 file://make.patch;patch=1 \
8 file://insserv.conf"
9
10S = "${WORKDIR}/insserv-${PV}"
11
12inherit native
13
14do_stage () {
15 oe_runmake 'DESTDIR=${STAGING_DIR_NATIVE}' install
16 install -m0644 ${WORKDIR}/insserv.conf ${STAGING_ETCDIR_NATIVE}/insserv.conf
17}
diff --git a/meta/packages/insserv/insserv_1.11.0.bb b/meta/packages/insserv/insserv_1.11.0.bb
index b5938b25ba..0fe439ba69 100644
--- a/meta/packages/insserv/insserv_1.11.0.bb
+++ b/meta/packages/insserv/insserv_1.11.0.bb
@@ -2,14 +2,17 @@ LICENSE = "GPL"
2SECTION = "base" 2SECTION = "base"
3PR = "r1" 3PR = "r1"
4 4
5SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${PN}-${PV}.tar.gz \ 5SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${BPN}-${PV}.tar.gz \
6 file://40_segfault_virtprov.dpatch;patch=1 \ 6 file://40_segfault_virtprov.dpatch;patch=1 \
7 file://42_loopnochangemsg.dpatch;patch=1 \ 7 file://42_loopnochangemsg.dpatch;patch=1 \
8 file://make.patch;patch=1 \ 8 file://make.patch;patch=1 \
9 file://crosscompile_fix.patch;patch=1 \ 9 file://crosscompile_fix.patch;patch=1 \
10 file://insserv.conf" 10 file://insserv.conf"
11 11
12NATIVE_INSTALL_WORKS = "1"
12do_install () { 13do_install () {
13 oe_runmake 'DESTDIR=${D}' install 14 oe_runmake 'DESTDIR=${D}' install
14 install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf 15 install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf
15} 16}
17
18BBCLASSEXTEND = "native"