From 79a4501a2ead92cb512eef0bd3dfe133d0e5d799 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 20 Sep 2010 14:18:45 +0100 Subject: Complete packages -> recipes transition Signed-off-by: Richard Purdie --- meta/recipes-tbd/meta/run-postinsts_1.0.bb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta/recipes-tbd/meta/run-postinsts_1.0.bb (limited to 'meta/recipes-tbd/meta/run-postinsts_1.0.bb') diff --git a/meta/recipes-tbd/meta/run-postinsts_1.0.bb b/meta/recipes-tbd/meta/run-postinsts_1.0.bb new file mode 100644 index 0000000000..f9559147e4 --- /dev/null +++ b/meta/recipes-tbd/meta/run-postinsts_1.0.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Run postinstall scripts on device using awk" +SECTION = "devel" +PR = "r6" + +SRC_URI = "file://run-postinsts file://run-postinsts.awk" + +INITSCRIPT_NAME = "run-postinsts" +INITSCRIPT_PARAMS = "start 98 S ." + +inherit update-rc.d + +do_configure() { + : +} + +do_compile () { + : +} + +do_install() { + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/run-postinsts ${D}${sysconfdir}/init.d/ + + install -d ${D}${datadir}/${PN}/ + install -m 0644 ${WORKDIR}/run-postinsts.awk ${D}${datadir}/${PN}/ +} -- cgit v1.2.3-54-g00ecf