From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67E89C433F5 for ; Wed, 17 Nov 2021 12:53:34 +0000 (UTC) Received: from mail-ua1-f49.google.com (mail-ua1-f49.google.com [209.85.222.49]) by mx.groups.io with SMTP id smtpd.web10.6494.1637153613196882258 for ; Wed, 17 Nov 2021 04:53:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=o5i0vgmW; spf=pass (domain: gmail.com, ip: 209.85.222.49, mailfrom: alex.kanavin@gmail.com) Received: by mail-ua1-f49.google.com with SMTP id ay21so5572479uab.12 for ; Wed, 17 Nov 2021 04:53:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=A2n5VfIICgb6YMMM9LJA/yn9RXKtZXhTYdKi9GQ5mVc=; b=o5i0vgmWn6Q1ETq6lOvWZN7lL4CyGxnDmE6XzxZ48gj29B2cZrmcjr/CCAYa1JTLXr 0kJnlQ9cJG+Mc2p65q0yaui6R1FUt9mpzgRfMYIbD2BKszzdHu8A2uIymy0RdCl5rl0b YiDYo1XZIPtSykFP4kYWRFaoCWN45+T1uZQPJLPbTOLBjL5+wZ+wJGt+KIyFzmzIrpzq kHX0t9l8owBhD1YUsiGlJVerEplYpACw7DP090sdMyn99wMUhpedTV/2wNo4lhx1JOug N8CEBd8xCVOD4Kq1h/q1yP0c2oxZuhgQ+5ZDrfhoKCYnMTLuGBk5S0wqzm9sF/2Sj8v+ 52nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=A2n5VfIICgb6YMMM9LJA/yn9RXKtZXhTYdKi9GQ5mVc=; b=Fd3TYKQDUPL7FsB+w8VshBCE+OrEZX8QnlOGJZlLN9f/XXQs75z8UDA8X/YagtKJsj qcsFD5jZ4U9NDWaL//b88ju10DPzAMh+6oifrQniF/Ke+mZ9UEcdk1eE8jVH84wjPI0S oaZhHwObG5vok0l9K+jQX3tXFTDJ+t6NySjSbQxV7mPwhU6mHHnXyH2Mlcm4JWRi2141 wKqGeAY2vVyRofy2+5+WXFXGQ/DMuOK1p1ZI5xcdZ1FztHqsHEfnNCAMrExET13ItJkR CH8ZXtaAVJ3BTnFCW0SuJj6HrkFDta9sgyim51jsA+BXp0BZaRBkEqVO9tczrsESXA6P tXJg== X-Gm-Message-State: AOAM530SdlBfLIBVELwKgN01bD1oC6bJAwPYdgMcNh8t74ZKtA58VIti vzbOyNKp03EUSf45KrHgbi1qrid3JKAIj3yzzp0= X-Google-Smtp-Source: ABdhPJyEqOh1ED5MXeDwNBnsLLjX0y38CLE2zc5cwlb9SlMNEjXncRufbGlM04gALqDFRMY0oy8RP+bI4LJDCxNih3s= X-Received: by 2002:ab0:6f14:: with SMTP id r20mr23799594uah.22.1637153612298; Wed, 17 Nov 2021 04:53:32 -0800 (PST) MIME-Version: 1.0 References: <20211117123201.111905-1-luca.boccassi@gmail.com> In-Reply-To: <20211117123201.111905-1-luca.boccassi@gmail.com> From: Alexander Kanavin Date: Wed, 17 Nov 2021 13:53:20 +0100 Message-ID: Subject: Re: [OE-core] [PATCH 0/8] systemd: allow building for nativesdk To: Luca Bocassi Cc: OE-core , paul.eggleton@microsoft.com Content-Type: multipart/alternative; boundary="00000000000080fb5e05d0fb877c" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 17 Nov 2021 12:53:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/158393 --00000000000080fb5e05d0fb877c Content-Type: text/plain; charset="UTF-8" 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 On Wed, 17 Nov 2021 at 13:32, Luca Bocassi wrote: > From: Luca Boccassi > > 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(-) > > -- > 2.30.2 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#158384): > https://lists.openembedded.org/g/openembedded-core/message/158384 > Mute This Topic: https://lists.openembedded.org/mt/87118013/1686489 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ > alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > > --00000000000080fb5e05d0fb877c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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

On Wed, 17 Nov 2021 at 13:32, Luca Bocassi = <luca.boccassi@gmail.com&= gt; 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 uni= ts.
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):
=C2=A0 systemd: skip chown when building for nativesdk
=C2=A0 systemd: skip postinst in nativesdk builds
=C2=A0 systemd: remove /var in nativesdk builds
=C2=A0 volatile-binds: remove /var in nativesdk builds
=C2=A0 volatile-binds: add nativesdk
=C2=A0 kbd: add nativesdk
=C2=A0 os-release: add nativesdk
=C2=A0 systemd: add nativesdk

=C2=A0meta/recipes-core/kbd/kbd_2.4.0.bb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 |=C2=A0 2 +-
=C2=A0meta/recipes-core/os-release/os-release.bb=C2=A0 =C2=A0 |=C2=A0 2 ++ =C2=A0meta/recipes-core/systemd/systemd-conf_1.0.bb |=C2=A0 2 ++
=C2=A0.../systemd/systemd-serialgetty.bb=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 |=C2=A0 2 ++
=C2=A0meta/recipes-core/systemd/systemd_249.5.bb=C2=A0 =C2=A0 | 29 ++++++= +++++++++++--
=C2=A0.../volatile-binds/volatile-binds.bb=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 |=C2=A0 7 +++++
=C2=A06 files changed, 41 insertions(+), 3 deletions(-)

--
2.30.2


-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
Links: You receive all messages sent to this group.
View/Reply Online (#158384): https:= //lists.openembedded.org/g/openembedded-core/message/158384
Mute This Topic: https://lists.openembedded.org/mt= /87118013/1686489
Group Owner: openembedded-core+owner@lists.openembedded.org<= br> Unsubscribe: https://lists.openembedded.org/= g/openembedded-core/unsub [alex.kanavin@gmail.com]
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-

--00000000000080fb5e05d0fb877c--