summaryrefslogtreecommitdiffstats
path: root/meta/classes/insserv.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-07-04 15:07:33 +0000
committerRoss Burton <ross@openedhand.com>2008-07-04 15:07:33 +0000
commit285ac1c2138ad1c192f9cf1e32e12682ca81fff4 (patch)
tree820ddf5dffb461044531b3ece1346dde8fa99d03 /meta/classes/insserv.bbclass
parentbd267516ed45140c21482468fdc7cf749f5bf2cc (diff)
downloadpoky-285ac1c2138ad1c192f9cf1e32e12682ca81fff4.tar.gz
Add insserv
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4830 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/insserv.bbclass')
-rw-r--r--meta/classes/insserv.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/insserv.bbclass b/meta/classes/insserv.bbclass
new file mode 100644
index 0000000000..d8e88c70ff
--- /dev/null
+++ b/meta/classes/insserv.bbclass
@@ -0,0 +1,5 @@
1do_rootfs[depends] += "insserv-native:do_populate_staging"
2run_insserv () {
3 insserv -p ${IMAGE_ROOTFS}/etc/init.d -c ${STAGING_ETCDIR_NATIVE}/insserv.conf
4}
5ROOTFS_POSTPROCESS_COMMAND += " run_insserv ; "