]> code.ossystems Code Review - openembedded-core.git/commit
update-rc.d.bbclass: explicitly dep on initscripts
authorChristopher Larson <chris_larson@mentor.com>
Mon, 24 Aug 2015 22:18:34 +0000 (15:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Aug 2015 11:34:18 +0000 (12:34 +0100)
commit833302761df924bb503cc2ad04ecae1023381f8f
tree072807064eff61e92165697b9a9e833ea39fb6b8
parent9697d13e48633515b80b2ab9bab84ca54ce3ed48
update-rc.d.bbclass: explicitly dep on initscripts

update-rc.d doesn't just want an initscripts package, it wants
initscripts-functions. In the case where VIRTUAL-RUNTIME_initscripts is set to
nothing, update-rc.d still needs initscripts-functions to satisfy its runtime
dependencies. Further, we shouldn't be using a *runtime* virtual in a *build
time* variable. This should resolve image creation failures with
configurations without sysv initscripts when a recipe inherits update-rc.d and
doesn't inherit systemd.

(From OE-Core rev: e6642ae0849e5ac3174c643a7693af25d829d6d1)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/update-rc.d.bbclass