Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Luca Boccassi <luca.boccassi@gmail.com>
To: "Martin Hundebøll" <martin@geanix.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] systemd: enable portabled by default and install utilities in systemd-container
Date: Fri, 10 May 2019 11:45:05 +0100	[thread overview]
Message-ID: <8c442a101d981e309ce28c8c74ec64fbc849bd6c.camel@gmail.com> (raw)
In-Reply-To: <f2b0a420-ed6c-91e2-dd88-399169363349@geanix.com>

On Fri, 2019-05-10 at 07:23 +0200, Martin Hundebøll wrote:
> Hi Luca,
> 
> On 09/05/2019 23.40, 
> luca.boccassi@gmail.com
>  wrote:
> > From: Luca Boccassi <
> > luca.boccassi@microsoft.com
> > >
> > 
> > portable services have been declared production ready with v241, so
> > enable
> > by default and install the files in the container package.
> 
> The systemd portables feature is not really related to
> containers/VM's, 
> so I think it should stay in the primary package; or alternatively in
> a 
> separate package.
> 
> // Martin

Hello Martin,

IMHO if VM tools and containers tool can go together in this package,
then portable services utilities can too - they are at different
positions on the same scale after all :-)

But I've got no strong opinion, so I'll send a v2 with them moved to
the main package.

> > Signed-off-by: Luca Boccassi <
> > luca.boccassi@microsoft.com
> > >
> > ---
> >   meta/recipes-core/systemd/systemd_242.bb | 10 ++++++++++
> >   1 file changed, 10 insertions(+)
> > 
> > diff --git a/meta/recipes-core/systemd/systemd_242.bb
> > b/meta/recipes-core/systemd/systemd_242.bb
> > index 73e03c7a77..83b00ba785 100644
> > --- a/meta/recipes-core/systemd/systemd_242.bb
> > +++ b/meta/recipes-core/systemd/systemd_242.bb
> > @@ -81,6 +81,7 @@ PACKAGECONFIG ??= " \
> >       nss \
> >       nss-mymachines \
> >       nss-resolve \
> > +    portabled \
> >       quotacheck \
> >       randomseed \
> >       resolved \
> > @@ -403,8 +404,10 @@ SYSTEMD_SERVICE_${PN}-remote = "systemd-
> > journal-remote.socket"
> >   
> >   FILES_${PN}-container = "${sysconfdir}/dbus-
> > 1/system.d/org.freedesktop.import1.conf \
> >                            ${sysconfdir}/dbus-
> > 1/system.d/org.freedesktop.machine1.conf \
> > +                         ${sysconfdir}/dbus-
> > 1/system.d/org.freedesktop.portable1.conf \
> >                            ${sysconfdir}/systemd/system/multi-
> > user.target.wants/machines.target \
> >                            ${base_bindir}/machinectl \
> > +                         ${base_bindir}/portablectl \
> >                            ${bindir}/systemd-nspawn \
> >                            ${nonarch_libdir}/systemd/import-
> > pubring.gpg \
> >                            ${systemd_system_unitdir}/busnames.targe
> > t.wants/org.freedesktop.import1.busname \
> > @@ -418,21 +421,28 @@ FILES_${PN}-container = "${sysconfdir}/dbus-
> > 1/system.d/org.freedesktop.import1.c
> >                            ${systemd_system_unitdir}/org.freedeskto
> > p.machine1.busname \
> >                            ${systemd_system_unitdir}/systemd-
> > importd.service \
> >                            ${systemd_system_unitdir}/systemd-
> > machined.service \
> > +                         ${systemd_system_unitdir}/systemd-
> > portabled.service \
> >                            ${systemd_system_unitdir}/dbus-
> > org.freedesktop.machine1.service \
> > +                         ${systemd_system_unitdir}/dbus-
> > org.freedesktop.portable1.service \
> >                            ${systemd_system_unitdir}/var-lib-
> > machines.mount \
> >                            ${rootlibexecdir}/systemd/systemd-import 
> > \
> >                            ${rootlibexecdir}/systemd/systemd-
> > importd \
> >                            ${rootlibexecdir}/systemd/systemd-
> > machined \
> > +                         ${rootlibexecdir}/systemd/systemd-
> > portabled \
> >                            ${rootlibexecdir}/systemd/systemd-pull \
> > +                         ${exec_prefix}/lib/tmpfiles.d/portables.c
> > onf \
> >                            ${exec_prefix}/lib/tmpfiles.d/systemd-
> > nspawn.conf \
> >                            ${systemd_system_unitdir}/systemd-
> > nspawn@.service \
> >                            ${libdir}/libnss_mymachines.so.2 \
> >                            ${datadir}/dbus-1/system-
> > services/org.freedesktop.import1.service \
> >                            ${datadir}/dbus-1/system-
> > services/org.freedesktop.machine1.service \
> > +                         ${datadir}/dbus-1/system-
> > services/org.freedesktop.portable1.service \
> >                            ${datadir}/dbus-
> > 1/system.d/org.freedesktop.import1.conf \
> >                            ${datadir}/dbus-
> > 1/system.d/org.freedesktop.machine1.conf \
> > +                         ${datadir}/dbus-
> > 1/system.d/org.freedesktop.portable1.conf \
> >                            ${datadir}/polkit-
> > 1/actions/org.freedesktop.import1.policy \
> >                            ${datadir}/polkit-
> > 1/actions/org.freedesktop.machine1.policy \
> > +                         ${datadir}/polkit-
> > 1/actions/org.freedesktop.portable1.policy \
> >                           "
> >   
> >   RRECOMMENDS_${PN}-container += "\
> > 
> 
> 
-- 
Kind regards,
Luca Boccassi



  reply	other threads:[~2019-05-10 10:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-09 21:40 [PATCH] systemd: enable portabled by default and install utilities in systemd-container luca.boccassi
2019-05-10  5:23 ` Martin Hundebøll
2019-05-10 10:45   ` Luca Boccassi [this message]
2019-05-10 10:46     ` Martin Hundebøll
2019-05-10 12:09 ` [PATCH v2] systemd: enable portabled by default luca.boccassi
2019-05-10 16:45   ` Khem Raj
2019-05-13 10:10     ` Luca Boccassi
2019-05-13 15:24       ` Khem Raj
2019-05-14 22:08         ` Luca Boccassi
2019-05-21 12:34 ` [PATCH v3] python*-setuptools: add separate packages for pkg_resources module luca.boccassi
2019-05-21 12:35   ` Luca Boccassi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8c442a101d981e309ce28c8c74ec64fbc849bd6c.camel@gmail.com \
    --to=luca.boccassi@gmail.com \
    --cc=martin@geanix.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox