[OE-core] [PATCH] systemd: don't add files and dependencies from units Conflicts

Andreas Müller schnitzeltony at googlemail.com
Tue Oct 7 10:40:46 UTC 2014


On Tue, Oct 7, 2014 at 9:18 AM, Erik Botö <erik.boto at pelagicore.com> wrote:

> This patch works well for me. Any chance of it getting cherry-picked
> into Daisy as well?
>
> Cheers,
> Erik
>
> On Tue, Oct 7, 2014 at 12:10 AM, Ross Burton <ross.burton at intel.com>
> wrote:
> > Adding dependencies and moving files based on Conflicts tags in unit
> files isn't
> > right, mainly as it means that systemd depends on systemd-binfmt,
> because the
> > latter ends up containing the shutdown.target unit.
> >
> > Signed-off-by: Ross Burton <ross.burton at intel.com>
> > ---
> >  meta/classes/systemd.bbclass |    5 +----
> >  1 file changed, 1 insertion(+), 4 deletions(-)
> >
> > diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
> > index 708ba89..c34884b 100644
> > --- a/meta/classes/systemd.bbclass
> > +++ b/meta/classes/systemd.bbclass
> > @@ -143,10 +143,7 @@ python systemd_populate_packages() {
> >          if has_exactly_one_service:
> >              has_exactly_one_service = len(get_package_var(d,
> 'SYSTEMD_SERVICE', systemd_packages).split()) == 1
> >
> > -        keys = 'Also' # Conflicts??
> > -        if has_exactly_one_service:
> > -            # single service gets also the /dev/null dummies
> > -            keys = 'Also Conflicts'
> > +        keys = 'Also'
> >          # scan for all in SYSTEMD_SERVICE[]
> >          for pkg_systemd in systemd_packages.split():
> >              for service in get_package_var(d, 'SYSTEMD_SERVICE',
> pkg_systemd).split():
> > --
> > 1.7.10.4
> >
> > --
>
What other packages are missing after this change? Any buildhistory on this?

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141007/69141a66/attachment-0002.html>


More information about the Openembedded-core mailing list