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 45429C001B0 for ; Wed, 9 Aug 2023 22:25:12 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by mx.groups.io with SMTP id smtpd.web10.4819.1691619907595225582 for ; Wed, 09 Aug 2023 15:25:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=RIMAEXqr; spf=pass (domain: bootlin.com, ip: 217.70.183.196, mailfrom: alexandre.belloni@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id C1F49E0005; Wed, 9 Aug 2023 22:25:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1691619905; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dnO4bdqT4Okrkmkje2bU4QPzLLVQSkSTA1H2tXGHFzI=; b=RIMAEXqrprSqk5Bh9zeja4C1MoU2UTPAdBE7eWZ72v0rz0qSaVcMpT32cDrc7Sf5yeK76F FUR4NQ1xH8+Vs1vL2jOwCk3SivXUVwprEfEVw2q1tyCGgBMxxyWx0fvXzonwoqb6GSIwwk IOjbPRtE8Qhog71JAlDhobwVjtL6R+YrcUKAffBKtDbsESUnwvswWUa9RRGIP+leMRbHYL kwib0x5zOVmcp8DJe2X/T+8DK2i3tjf+S6HGlENL7Z3IBA+YOSt2MaHgV8GGYFdfq7SkrG mql0EBDkT2IrMxsZeNllhf05NuJoxPHw/5JeFfZ/Hf7qfNp98hrx84DWU3edxw== Date: Thu, 10 Aug 2023 00:25:04 +0200 From: Alexandre Belloni To: Jose Quaresma Cc: openembedded-core@lists.openembedded.org, Jose Quaresma Subject: Re: [OE-core][PATCH] systemd: fix efi dependency Message-ID: <202308092225049bdca74c@mail.local> References: <1779200FA9E646B9.10230@lists.openembedded.org> <20230809202545e0e3244d@mail.local> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-GND-Sasl: alexandre.belloni@bootlin.com 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, 09 Aug 2023 22:25:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/185719 On 09/08/2023 21:52:35+0100, Jose Quaresma wrote: > Hi Alexandre, > > Alexandre Belloni escreveu no dia quarta, > 9/08/2023 �(s) 21:25: > > > Hello, > > > > On 09/08/2023 00:02:08+0100, Jose Quaresma wrote: > > > Ping! > > > > We developed the same patch at the same time, I confirm yours is working > > but it was not enough to solve all the systemd v254 related issues. I've > > just sent the hopefully last patch to fix the remaining issue. > > > > Thanks for your support and we hope your wic fix is the last one > for the systemd-boot. > > Anyway please note that this patch is not for the systemd-boot but > it is for systemd to fix the build when the efi packageconfig is enabled. > Ah yes, sorry, I got confused with your other patch. I don't know what happened with this one. I'm pretty sure I had it in my branch at some point but it got dropped and I forgot to get it back, thanks for the reminder, I'll ensure it gets queued. > Jose > > > > > > > > > > Jose Quaresma via lists.openembedded.org > > gmail.com@lists.openembedded.org> escreveu no dia segunda, 7/08/2023 > > �(s) > > > 15:26: > > > > > > > Last version of systemd dpends now on pyelftools to build the efi > > support > > > > but the required tool is the native ones and not the target. > > > > The systemd-boot has the corrected dependencie so fix this in the main > > > > recipe. > > > > > > > > | Program python3 (jinja2) found: YES > > > > > > (/build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/recipe-sysroot-native/usr/bin/python3-native/python3) > > > > modules: jinja2 > > > > | Checking if "32bit build possible" : links: NO > > > > | Program python3 (elftools) found: NO > > > > | > > > > | ../git/meson.build:2147:8: ERROR: Problem encountered: EFI bootloader > > > > support requires pyelftools. > > > > | > > > > | A full log can be found at > > > > > > /build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/build/meson-logs/meson-log.txt > > > > > > > > Signed-off-by: Jose Quaresma > > > > --- > > > > meta/recipes-core/systemd/systemd_254.bb | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --git a/meta/recipes-core/systemd/systemd_254.bb > > > > b/meta/recipes-core/systemd/systemd_254.bb > > > > index ea1a4f02f0..cd2a021da2 100644 > > > > --- a/meta/recipes-core/systemd/systemd_254.bb > > > > +++ b/meta/recipes-core/systemd/systemd_254.bb > > > > @@ -142,7 +142,7 @@ PACKAGECONFIG[default-compression-lz4] = > > "-Dlz4=true > > > > -Ddefault-compression=lz4,, > > > > PACKAGECONFIG[default-compression-xz] = "-Dxz=true > > > > -Ddefault-compression=xz,,xz" > > > > PACKAGECONFIG[default-compression-zstd] = "-Dzstd=true > > > > -Ddefault-compression=zstd,,zstd" > > > > PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus" > > > > -PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false > > > > -Dbootloader=false,python3-pyelftools" > > > > +PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false > > > > -Dbootloader=false,python3-pyelftools-native" > > > > PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils" > > > > PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false" > > > > PACKAGECONFIG[repart] = "-Drepart=true,-Drepart=false" > > > > -- > > > > 2.34.1 > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Best regards, > > > > > > Jos� Quaresma > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > Links: You receive all messages sent to this group. > > > View/Reply Online (#185679): > > https://lists.openembedded.org/g/openembedded-core/message/185679 > > > Mute This Topic: https://lists.openembedded.org/mt/100600508/3617179 > > > Group Owner: openembedded-core+owner@lists.openembedded.org > > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ > > alexandre.belloni@bootlin.com] > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > > > > > > -- > > Alexandre Belloni, co-owner and COO, Bootlin > > Embedded Linux and Kernel engineering > > https://bootlin.com > > > > > -- > Best regards, > > Jos� Quaresma -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com