run-postinsts: Add systemd service file
authorRoss Burton <ross.burton@intel.com>
Tue, 17 Dec 2013 10:50:09 +0000 (10:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jan 2014 00:52:34 +0000 (00:52 +0000)
commite1a362886e8e90fc9918f54a0272bb24a45e7e56
tree13c79cd13bfe0a1d1de9a9d875f4cac581c325a7
parent08bc7ca8721584909bb609355963d65210a4c273
run-postinsts: Add systemd service file

This patch mainly adds a systmd service file for run-postinsts,
which is started at first boot to run the post-install scripts.

Apart from this, this patch also modifies the installation location
of run-postinsts to ${sbindir}. This is because this script would be
used by both sysvinit and systemd based images. So it's more reasonable
to make it locate under ${sbindir}.

[YOCTO #5719]

(From OE-Core rev: 5933fbef26ffbc8140248ffb28957f36a813054b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.init [new file with mode: 0644]
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service [new file with mode: 0644]
meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb