summaryrefslogtreecommitdiff
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)
downloadopenembedded-core-285ac1c2138ad1c192f9cf1e32e12682ca81fff4.tar.gz
openembedded-core-285ac1c2138ad1c192f9cf1e32e12682ca81fff4.tar.bz2
openembedded-core-285ac1c2138ad1c192f9cf1e32e12682ca81fff4.tar.xz
openembedded-core-285ac1c2138ad1c192f9cf1e32e12682ca81fff4.zip
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 000000000..d8e88c70f
--- /dev/null
+++ b/meta/classes/insserv.bbclass
@@ -0,0 +1,5 @@
+do_rootfs[depends] += "insserv-native:do_populate_staging"
+run_insserv () {
+ insserv -p ${IMAGE_ROOTFS}/etc/init.d -c ${STAGING_ETCDIR_NATIVE}/insserv.conf
+}
+ROOTFS_POSTPROCESS_COMMAND += " run_insserv ; "