Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Luca Boccassi <luca.boccassi@gmail.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>,
	paul.eggleton@microsoft.com
Subject: Re: [OE-core] [PATCH 0/8] systemd: allow building for nativesdk
Date: Wed, 17 Nov 2021 16:11:21 +0000	[thread overview]
Message-ID: <fe49ca32907173d954160ead0c714eaa654a3ae5.camel@gmail.com> (raw)
In-Reply-To: <CANNYZj_1r4Gj_CwBE7Rrr3NedxH9saVQeEuu1mpBFx9A=stDGQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2776 bytes --]

On Wed, 2021-11-17 at 16:07 +0100, Alexander Kanavin wrote:
> 
> 
> On Wed, 17 Nov 2021 at 15:59, Luca Boccassi <luca.boccassi@gmail.com>
> wrote:
> > On Wed, 2021-11-17 at 13:53 +0100, Alexander Kanavin wrote:
> > > Shouldn't this be enabled in regular yocto builds first, e.g.
> > allow
> > > systemd-native and then add the needed checks to systemd.bbclass?
> > > Maybe nativesdk support isn't then needed at all?
> > > 
> > > Alex
> > 
> > I'm not sure I follow, that would break the build? These changes
> > are
> > necessary to make it work. I am including the package in the local
> > sdk
> > configuration, without these patches it does not build.
> > 
> 
> 
> What I'm trying to say is running those systemd analyzers should be
> enabled in regular yocto builds first before it's enabled in SDKs.
> It's not a good idea to have a feature that is available in SDKs but
> not available in direct use of bitbake to build recipes.
> 
> Alex

But it is already available? And it has been for a long time:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-core/systemd/systemd_249.5.bb#n411

> > 
> > > On Wed, 17 Nov 2021 at 13:32, Luca Bocassi
> > <luca.boccassi@gmail.com>
> > > wrote:
> > > > From: Luca Boccassi <luca.boccassi@microsoft.com>
> > > > 
> > > > systemd-analyze in the next release will gain the ability to
> > > > run the 'security' and 'verify' verbs offline, on local units.
> > > > This is very useful at build time and/or in CI systems to
> > detect
> > > > errors and issues before changes are deployed, as a static
> > > > analyzer tool.
> > > > This series enables building the systemd recipe for the
> > nativesdk
> > > > targets, so that systemd-analyze can be included in the SDK and
> > > > called by users/build systems/CI systems.
> > > > 
> > > > Luca Boccassi (8):
> > > >   systemd: skip chown when building for nativesdk
> > > >   systemd: skip postinst in nativesdk builds
> > > >   systemd: remove /var in nativesdk builds
> > > >   volatile-binds: remove /var in nativesdk builds
> > > >   volatile-binds: add nativesdk
> > > >   kbd: add nativesdk
> > > >   os-release: add nativesdk
> > > >   systemd: add nativesdk
> > > > 
> > > >  meta/recipes-core/kbd/kbd_2.4.0.bb            |  2 +-
> > > >  meta/recipes-core/os-release/os-release.bb    |  2 ++
> > > >  meta/recipes-core/systemd/systemd-conf_1.0.bb |  2 ++
> > > >  .../systemd/systemd-serialgetty.bb            |  2 ++
> > > >  meta/recipes-core/systemd/systemd_249.5.bb    | 29
> > > > +++++++++++++++++--
> > > >  .../volatile-binds/volatile-binds.bb          |  7 +++++
> > > >  6 files changed, 41 insertions(+), 3 deletions(-)
> > > > 
> > 


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-11-17 16:11 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17 12:31 [PATCH 0/8] systemd: allow building for nativesdk luca.boccassi
2021-11-17 12:31 ` [PATCH 1/8] systemd: skip chown when " luca.boccassi
2021-11-17 18:14   ` [OE-core] " Peter Kjellerstedt
2021-11-17 18:32     ` Luca Boccassi
2021-11-19 11:35       ` Luca Boccassi
2021-11-17 12:31 ` [PATCH 2/8] systemd: skip postinst in nativesdk builds luca.boccassi
2021-11-17 12:31 ` [PATCH 3/8] systemd: remove /var " luca.boccassi
2021-11-17 12:31 ` [PATCH 4/8] volatile-binds: " luca.boccassi
2021-11-17 12:31 ` [PATCH 5/8] volatile-binds: add nativesdk luca.boccassi
2021-11-17 17:40   ` [OE-core] " Richard Purdie
2021-11-17 17:42     ` Luca Boccassi
2021-11-19 11:36       ` Luca Boccassi
2021-11-17 12:31 ` [PATCH 6/8] kbd: " luca.boccassi
2021-11-17 17:43   ` [OE-core] " Richard Purdie
2021-11-17 17:58     ` Luca Boccassi
2021-11-17 12:32 ` [PATCH 7/8] os-release: " luca.boccassi
2021-11-17 12:32 ` [PATCH 8/8] systemd: " luca.boccassi
2021-11-17 12:53 ` [OE-core] [PATCH 0/8] systemd: allow building for nativesdk Alexander Kanavin
2021-11-17 14:59   ` Luca Boccassi
2021-11-17 15:07     ` Alexander Kanavin
2021-11-17 16:11       ` Luca Boccassi [this message]
2021-11-17 16:44         ` Alexander Kanavin
2021-11-17 17:41           ` Luca Boccassi
2021-11-17 17:49             ` Alexander Kanavin
2021-11-17 18:04               ` Luca Boccassi
2021-11-17 19:50                 ` Alexander Kanavin
2021-11-19  1:43 ` ChenQi
2021-11-19 11:26   ` Luca Boccassi
2021-11-22  3:32     ` ChenQi
2021-11-19 11:34 ` [PATCH v2 1/7] systemd: skip chown when " luca.boccassi
2021-11-19 11:34   ` [PATCH v2 2/7] systemd: skip postinst in nativesdk builds luca.boccassi
2021-11-19 11:34   ` [PATCH v2 3/7] systemd: remove /var " luca.boccassi
2021-11-19 11:34   ` [PATCH v2 4/7] systemd: remove volatile-binds RDEPENDS for nativesdk luca.boccassi
2021-11-22 11:56     ` [OE-core] " Richard Purdie
2021-11-22 22:51       ` Luca Boccassi
2021-11-19 11:34   ` [PATCH v2 5/7] kbd: add nativesdk luca.boccassi
2021-11-19 11:34   ` [PATCH v2 6/7] os-release: " luca.boccassi
2021-11-19 11:34   ` [PATCH v2 7/7] systemd: " luca.boccassi
2021-11-19 11:39     ` [OE-core] " Alexander Kanavin
2021-11-19 11:55       ` Luca Boccassi
2021-11-22 12:46   ` [OE-core] [PATCH v2 1/7] systemd: skip chown when building for nativesdk Richard Purdie
2021-11-22 13:57   ` Konrad Weihmann
2021-11-22 14:17     ` Alexander Kanavin
2021-11-22 22:47     ` Luca Boccassi
2021-11-24  8:09       ` Konrad Weihmann
2021-11-24 11:53         ` 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=fe49ca32907173d954160ead0c714eaa654a3ae5.camel@gmail.com \
    --to=luca.boccassi@gmail.com \
    --cc=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@microsoft.com \
    /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