[OE-core] [PATCH V5 3/3] systemd: split modules into packages

Anders Darander anders at chargestorm.se
Wed Jun 17 08:27:16 UTC 2015


* Leandro Dorileo <leandro.maciel.dorileo at intel.com> [150616 20:21]:

> On 05/13/2015 07:41 PM, Andreas Oberritter wrote:
> >Hello Bruno,

> >On 13.05.2015 23:51, Bruno Bottazzini wrote:
> >>+########################################################################
> >>+# Aggregation of Split Packages
> >>+########################################################################
> >>+PACKAGES =+ "${PN}-services-base"
> >>+SUMMARY_${PN}-services-base = "Base services aggregation"
> >>+ALLOW_EMPTY_${PN}-services-base = "1"
> >>+RDEPENDS_${PN}-services-base = " \

> >I think it would be better to use RRECOMMENDS, in order to support
> >BAD_RECOMMENDATIONS per image. This would also remove the need to use
> >bb.utils.contains, because unavailable recommended packages get ignored
> >by the package managers.


> In the end, isn't it just a different approach? a different way of
> doing the same thing? By the way, from my point of view, semantically
> we're saying "we want a given package feature" besides the "we want a
> given distro feature", don't you think?

Like Andreas already commented, no.

Please, use RRECOMMEND unless it's vital that the package is installed
(i.e. the package A needs package B to be able to run at all). If
package B only makes it possible for package A to provide some extra
feature, do RRECOMMEND it. This makes it a lot easier for all of us who
tries to not install things that are useless. (One example in my case,
fsck is pretty useless).

And please, go through all the created packages and try to use
RRECOMMENDS as much as possible.

Cheers,
Ander

-- 
Anders Darander
ChargeStorm AB / eStorm AB



More information about the Openembedded-core mailing list