From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- meta/recipes-devtools/insserv/insserv_1.14.0.bb | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 meta/recipes-devtools/insserv/insserv_1.14.0.bb (limited to 'meta/recipes-devtools/insserv/insserv_1.14.0.bb') diff --git a/meta/recipes-devtools/insserv/insserv_1.14.0.bb b/meta/recipes-devtools/insserv/insserv_1.14.0.bb new file mode 100644 index 0000000000..4a33e16912 --- /dev/null +++ b/meta/recipes-devtools/insserv/insserv_1.14.0.bb @@ -0,0 +1,41 @@ +SUMMARY = "Boot sequence organizer using LSB init.d dependencies" +DESCRIPTION = "This utility reorders the init.d boot scripts based on dependencies given in scripts' LSB comment \ +headers, or in override files included in this package or added in /etc/insserv." +# There is no known home page for insserv +SECTION = "base" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +PR = "r1" + +SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${BPN}-${PV}.tar.bz2 \ + file://makefile.patch \ + file://disable_runtests.patch \ + file://insserv.conf \ + file://run-ptest \ +" + +SRC_URI[md5sum] = "4a97d900855148842b1aa8f33b988b47" +SRC_URI[sha256sum] = "89a0a093b1cf3d802ad40568e64b496b493f51ff9825905c8bd12738b374ca47" + +do_install () { + oe_runmake 'DESTDIR=${D}' install + install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf +} + +do_install_class-native () { + oe_runmake 'DESTDIR=${D}/${STAGING_DIR_NATIVE}' install + install -m0644 ${WORKDIR}/insserv.conf ${D}${sysconfdir}/insserv.conf +} + +BBCLASSEXTEND = "native" + +inherit ptest + +do_install_ptest() { + for i in common suite; do cp ${S}/tests/$i ${D}${PTEST_PATH}; done + sed -e 's|${\PWD}/insserv|insserv|;/trap/d' -i ${D}${PTEST_PATH}/suite + sed -e '/test_simple_sequence$/d;/test_undetected_loop$/d' -i ${D}${PTEST_PATH}/common +} + +RDEPENDS_${PN}-ptest += "bash" -- cgit v1.2.3-54-g00ecf