]> code.ossystems Code Review - openembedded-core.git/commit
initscripts: split the functions script into a separate package
authorChen Qi <Qi.Chen@windriver.com>
Mon, 6 Jan 2014 07:27:34 +0000 (15:27 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jan 2014 16:30:00 +0000 (16:30 +0000)
commit736dd8380f41d6ff1d3d0e4fe33cc01e2e873ef6
tree69674baaad81a99c2e54d9bdfa6e5ffc660f95c7
parentd93fdb740e6b73fe168f64575f4ceb4b3db17504
initscripts: split the functions script into a separate package

Many SysV init scripts need the /etc/init.d/functions script. But
this script is part of the initscripts package. As a result, the
initscripts package should always be installed into the system to
avoid errors when starting daemons. However, it makes no sense to
install the initscripts package into a systemd based image, because
what the init scripts provide has already been provided by the systemd.
On the other hand, the functions script might be still needed in a
systemd based image because other init scripts such as distcc might need
it.

The above situation leads to a natural separation of the functions script
from the initscripts package. And this patch does so. It separates the
functions script into initscripts-functions packages.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initscripts/initscripts_1.0.bb