From patchwork Wed Jan 11 11:47:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 17989 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 16CDDC46467 for ; Wed, 11 Jan 2023 11:47:40 +0000 (UTC) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mx.groups.io with SMTP id smtpd.web11.21702.1673437655690531734 for ; Wed, 11 Jan 2023 03:47:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Qacr9bv1; spf=pass (domain: gmail.com, ip: 209.85.128.53, mailfrom: luca.boccassi@gmail.com) Received: by mail-wm1-f53.google.com with SMTP id bg13-20020a05600c3c8d00b003d9712b29d2so14165426wmb.2 for ; Wed, 11 Jan 2023 03:47:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=3o2DSw/BAJJ6kGXbT7oXmLeEzfT6i+z1y/kVdskPZwI=; b=Qacr9bv1gIUiS+oMfW9KQ+OCg18euSWkSzZwpZyrPgfAhb8P5cHdN9odK2E3sZJgID CzWo33+VODNyY/qz6lZLrkqqkWUdODli7WPo0sAkToaoLCjT5KCEfdeJCmCjo33PfFBl UfRI/Bp8sb9Yw4fznEty5MExpNYndiTZJM311uwBiMlE2oY5C4gL6GNdHA9f+aqjj8gW Ej4gFdSTIbS+VdilQDD1ITJIr3lEsDHXULVLyDC71MOGNO/WWYeMBVyF92PNlWvkIIDG Zx4764zuLesttNxtaSLzVS1WtGJCxUq7pDr6X21b7czd1ts2TS+6tEXwKXuIaQMbvwAL BHlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3o2DSw/BAJJ6kGXbT7oXmLeEzfT6i+z1y/kVdskPZwI=; b=5mqrpimtuSORoWvO6xrFKjU/lmC1Q60GVMqxOSI64/TLsQf0A2wz7nFS8puH0V+1Ug 8wG7MpAjosqum/IZBh884LrjXEnx/lS/m4SSU1y/nksjxjNoCfM+GIjybOC2QJh8eSzr D4ANvmnk4O3ihxVM8GKJfWZdSxI0ZJ95LI6tlDxhaj9rcOEK0c3gXAQ8JCs5QZOByrBK 1lGwaHXG3XdIo0LiRB+fTFEqHstP8YmdJYnxXydTxdu47Q0K+VLgmavak5ffX6Ww8hxP GrGtk3oC64xB2+RKsgfap4YR12AymcF0yV2e3px2z2GlwvGClou+qq3WcPo/VyaXh71a VZ4Q== X-Gm-Message-State: AFqh2kqChZhbFDS5jbwyL8YPG+/kKpEvjPloHgQPr00qJARdIZw4LZU0 BRQfNe2p8v4G8g/rLjHtR0Xa8bbBxuw= X-Google-Smtp-Source: AMrXdXt7xgaC05ohjtbAJ344w34JMY8vuJ/kvKT9m/ORuRbqPCGSEzJvqdlfquydEGzReCeVOo5Qxw== X-Received: by 2002:a05:600c:18a3:b0:3d1:fcac:3c95 with SMTP id x35-20020a05600c18a300b003d1fcac3c95mr52648773wmp.34.1673437653622; Wed, 11 Jan 2023 03:47:33 -0800 (PST) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id l36-20020a05600c1d2400b003d9fb59c16fsm5267342wms.11.2023.01.11.03.47.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 03:47:33 -0800 (PST) From: luca.boccassi@gmail.com To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 1/2] systemd: refresh patch to remove fuzz introduced by rebase on v252 Date: Wed, 11 Jan 2023 11:47:28 +0000 Message-Id: <20230111114729.395529-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230110222227.314983-1-luca.boccassi@gmail.com> References: <20230110222227.314983-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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, 11 Jan 2023 11:47:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/175735 From: Luca Boccassi Signed-off-by: Luca Boccassi --- ...binfmt-Don-t-install-dependency-links-at-install-tim.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd/0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch b/meta/recipes-core/systemd/systemd/0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch index a19a025559..2a033b134e 100644 --- a/meta/recipes-core/systemd/systemd/0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch +++ b/meta/recipes-core/systemd/systemd/0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch @@ -29,7 +29,7 @@ diff --git a/units/meson.build b/units/meson.build index a9bf28f6d9..11d3644168 100644 --- a/units/meson.build +++ b/units/meson.build -@@ -63,8 +63,7 @@ units = [ +@@ -62,8 +62,7 @@ units = [ ['poweroff.target', '', (with_runlevels ? 'runlevel0.target' : '')], ['printer.target', ''], @@ -64,7 +64,7 @@ diff --git a/units/systemd-binfmt.service.in b/units/systemd-binfmt.service.in index 96f595ad72..7c010bb224 100644 --- a/units/systemd-binfmt.service.in +++ b/units/systemd-binfmt.service.in -@@ -14,6 +14,7 @@ Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.htm +@@ -14,6 +14,7 @@ Documentation=https://docs.kernel.org/admin-guide/binfmt-misc.html Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems DefaultDependencies=no Conflicts=shutdown.target From patchwork Wed Jan 11 11:47:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 17990 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 17097C677F1 for ; Wed, 11 Jan 2023 11:47:40 +0000 (UTC) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mx.groups.io with SMTP id smtpd.web10.21662.1673437656736175717 for ; Wed, 11 Jan 2023 03:47:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mj94XWDI; spf=pass (domain: gmail.com, ip: 209.85.128.50, mailfrom: luca.boccassi@gmail.com) Received: by mail-wm1-f50.google.com with SMTP id k26-20020a05600c1c9a00b003d972646a7dso14136615wms.5 for ; Wed, 11 Jan 2023 03:47:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=SLtBRrS5wMvWkLP2xd9uBG/vA5NCBngkAJsneifALXs=; b=mj94XWDITtx/nFHWgieDX3Ukgqd5nkqv5S7ktI6O//uzRtvCoWd2c3a3ohyW1qZmKo /qCgnGnQ2wBcUQX1lRgFd67ZhnrlMazpLAmajgcs0jVAl5zPvdyohtKc1sg30hgElMLL YPLCREvaxvQuVs0IsTca+M09ItsZ+6EmR4U2b6TjMALCSEL5puryauKGS78YGgOk/xVJ ehjqoc8gDSE1I7GVp7mgXqO5ZrzI9I0LE0RnvLcqf9MTEcCJaQRVsPKZ+r++0m4xkSPT Pn6kzagMuKQJn/NSklwkf4ViQthfFaLAS73g1RsGt+kuCLQ9yYwRsJ4v5AZmOXn2ijYH 11VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SLtBRrS5wMvWkLP2xd9uBG/vA5NCBngkAJsneifALXs=; b=bLSfoSimn+rdHUF3uq/EWw6d6l6dd8sBqYeaRzBww8GPVgtUouxY/4wiQxJesECES/ oBRfLjurnX3ML4DbGU7Qrzxufr2qYLXAPbtx37cObD0qgxplzIC9o1l4+mjHPxWrQWUr /WC58Y7ENIrJlPHHN52OFy9Wo0eGrkZjlcELGTm2mSZjNrSzFNUDNxZ9sGF8Vlx1/0kZ fg6wZV7pvbs7Kjsfz9vxczefU7Kmskp/AlpsM0Vh/caXTQmo8N6eqC7M4kCeHpAMMqep 4qjYc0MLb1hwJDoa82IFJ62WCycH++WShBUPoghH3HdvWTj1gR93m9uwXOuiIwbDeclh sEMw== X-Gm-Message-State: AFqh2kqQOvUgCnQxmSPi03N/PvVJr8qBAgN+IHodD6gfM6yA7q/okS0z QO2IaxM4LZej9JhVxMn6+Vqd6+KYeOU= X-Google-Smtp-Source: AMrXdXt+5fmsVvz/MFlelp7Fg6d4Hy5vsNw7SYtEWrHqtM2E22yjOWUFBrRW0DB7ynsHNCjqJlWZ0w== X-Received: by 2002:a05:600c:539a:b0:3d9:efe8:a424 with SMTP id hg26-20020a05600c539a00b003d9efe8a424mr8153818wmb.34.1673437654914; Wed, 11 Jan 2023 03:47:34 -0800 (PST) Received: from localhost ([137.220.119.58]) by smtp.gmail.com with ESMTPSA id w12-20020a05600c474c00b003d1e1f421bfsm1484594wmo.10.2023.01.11.03.47.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 03:47:34 -0800 (PST) From: luca.boccassi@gmail.com To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 2/2] systemd: ship pcrphase/measure tools and units in systemd-extra-utils Date: Wed, 11 Jan 2023 11:47:29 +0000 Message-Id: <20230111114729.395529-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230111114729.395529-1-luca.boccassi@gmail.com> References: <20230110222227.314983-1-luca.boccassi@gmail.com> <20230111114729.395529-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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, 11 Jan 2023 11:47:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/175736 From: Luca Boccassi New tooling related to signed TPM policies introduced in v252 Signed-off-by: Luca Boccassi --- v2: rebase to use systemd_system_unitdir meta/recipes-core/systemd/systemd_252.4.bb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_252.4.bb b/meta/recipes-core/systemd/systemd_252.4.bb index eb6f5ecc17..7c3c78a364 100644 --- a/meta/recipes-core/systemd/systemd_252.4.bb +++ b/meta/recipes-core/systemd/systemd_252.4.bb @@ -529,12 +529,15 @@ FILES:${PN}-extra-utils = "\ ${bindir}/systemd-stdio-bridge \ ${base_bindir}/systemd-ask-password \ ${base_bindir}/systemd-tty-ask-password-agent \ + ${systemd_system_unitdir}/initrd.target.wants/systemd-pcrphase-initrd.path \ ${systemd_system_unitdir}/systemd-ask-password-console.path \ ${systemd_system_unitdir}/systemd-ask-password-console.service \ ${systemd_system_unitdir}/systemd-ask-password-wall.path \ ${systemd_system_unitdir}/systemd-ask-password-wall.service \ ${systemd_system_unitdir}/sysinit.target.wants/systemd-ask-password-console.path \ ${systemd_system_unitdir}/sysinit.target.wants/systemd-ask-password-wall.path \ + ${systemd_system_unitdir}/sysinit.target.wants/systemd-pcrphase.path \ + ${systemd_system_unitdir}/sysinit.target.wants/systemd-pcrphase-sysinit.path \ ${systemd_system_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path \ ${rootlibexecdir}/systemd/systemd-resolve-host \ ${rootlibexecdir}/systemd/systemd-ac-power \ @@ -542,12 +545,17 @@ FILES:${PN}-extra-utils = "\ ${rootlibexecdir}/systemd/systemd-bus-proxyd \ ${systemd_system_unitdir}/systemd-bus-proxyd.service \ ${systemd_system_unitdir}/systemd-bus-proxyd.socket \ + ${rootlibexecdir}/systemd/systemd-measure \ + ${rootlibexecdir}/systemd/systemd-pcrphase \ ${rootlibexecdir}/systemd/systemd-socket-proxyd \ ${rootlibexecdir}/systemd/systemd-reply-password \ ${rootlibexecdir}/systemd/systemd-sleep \ ${rootlibexecdir}/systemd/system-sleep \ ${systemd_system_unitdir}/systemd-hibernate.service \ ${systemd_system_unitdir}/systemd-hybrid-sleep.service \ + ${systemd_system_unitdir}/systemd-pcrphase-initrd.service \ + ${systemd_system_unitdir}/systemd-pcrphase.service \ + ${systemd_system_unitdir}/systemd-pcrphase-sysinit.service \ ${systemd_system_unitdir}/systemd-suspend.service \ ${systemd_system_unitdir}/sleep.target \ ${rootlibexecdir}/systemd/systemd-initctl \