On Fri, 2018-06-15 at 17:59 -0700, Jeremy Puhlman wrote: > If ALTERNATIVE_<pkg> lists the same entry more then once, the > update-alternatives identical install and remove actions are added > for > each repeated entry. This is exhibited when you add meta-selinux, and > examine the busybox package, which installs every link twice because > it > alters the links to point to the shell replacements so selinux will > work > with them. This can generate warnings on do_rootfs about similarly > prioritized alternatives. Given that at this point in the processing > the addtions should always be identical there shouldn't be any good > reason to add them twice. > > Signed-off-by: Jeremy Puhlman <jpuhl...@mvista.com> > --- > meta/classes/update-alternatives.bbclass | 4 ++++ > 1 file changed, 4 insertions(+)
Shouldn't we detect and make this a fatal error in one of the other sanity tests like we do for PACKAGES for example? Would there ever be a valid use case for duplicate entries here? Cheers, Richard -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core