]> code.ossystems Code Review - openembedded-core.git/commit
update-rc.d: Improve RRECOMMENDS handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 May 2015 16:28:12 +0000 (17:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 May 2015 16:44:31 +0000 (17:44 +0100)
commit053b8a4e6b9a4b02c0b1b4bc1e297a1251a901a9
tree2402bce16bdd968d327bd73ffdfa8200db8d3e43
parent03482382b797f3501c3fb0df0fe12bd4e5e51a39
update-rc.d: Improve RRECOMMENDS handling

Unfortunately the combination of:

RRECOMMENDS_${PN} = "X"
UPDATERCPN = "${PN}"
RRECOMMENDS_${UPDATERCPN}_append = "Y"

is tricky for bitbake to order correctly since RRECOMMENDS_${UPDATERCPN} can
become "Y" which can then completely overwrite RRECOMMENDS_${PN}.

Avoid these issues and improve handling in general by explictly setting
the RRECOMMENDS on the list of packages modified in the general
code.

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