summaryrefslogtreecommitdiffstats
path: root/meta/classes/insserv.bbclass
diff options
context:
space:
mode:
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 0000000..14290a7
--- /dev/null
+++ b/meta/classes/insserv.bbclass
@@ -0,0 +1,5 @@
1do_rootfs[depends] += "insserv-native:do_populate_sysroot"
2run_insserv () {
3 insserv -p ${IMAGE_ROOTFS}/etc/init.d -c ${STAGING_ETCDIR_NATIVE}/insserv.conf
4}
5ROOTFS_POSTPROCESS_COMMAND += " run_insserv ; "