From patchwork Mon Jun 29 14:15:57 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 91282 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 BDEA3C43638 for ; Mon, 29 Jun 2026 14:16:07 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38494.1782742564297101384 for ; Mon, 29 Jun 2026 07:16:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=imfyeUPt; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 580EE16A3 for ; Mon, 29 Jun 2026 07:15:59 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 584F23F905 for ; Mon, 29 Jun 2026 07:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782742563; bh=j2fWdtjs9ebhg4N4cYh20//ZGSLg3/aLpxzAC0OCP3E=; h=From:To:Subject:Date:From; b=imfyeUPtc69uoaZyHGyPmD5tj3OrpkCyRv7jOM4f+Afpq10kUriJ08gDutMpeQz78 g1NJE3gemxK5UZ51ghN6oiMRNGSogT1aTSX2gW9KUQP6ozTQGYqqhyeg/xIRmQSyaf kdbk+Q2Zm8Di+C9RIu1RnVudJ8Hurlg8B8wYvviQ= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/3] classes/meson: use ninja explicitly when compiling Date: Mon, 29 Jun 2026 15:15:57 +0100 Message-ID: <20260629141559.1305873-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 29 Jun 2026 14:16:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239785 "meson compile" is essentially a glorified wrapper around calling ninja that doesn't support all of the options that ninja does, so calling it directly means builds are fractionally faster and we get direct control over the flags that ninja is passed. A longer rationale can be found in the Gentoo change by Eli Schwartz that caused this patch, who is both a Gentoo and Meson developer: https://github.com/gentoo/gentoo/commit/66011abd663671947fe07835f0d9cc360f5de317 The only change is that the compile target doesn't support the optional convenience target type, but this is rarely used. Signed-off-by: Ross Burton --- meta/classes-recipe/meson.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/meson.bbclass b/meta/classes-recipe/meson.bbclass index 9bed293603c..a4643591103 100644 --- a/meta/classes-recipe/meson.bbclass +++ b/meta/classes-recipe/meson.bbclass @@ -180,7 +180,7 @@ meson_do_configure() { do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" meson_do_compile() { - meson compile -v ${PARALLEL_MAKE} ${MESON_TARGET} + ninja --verbose ${PARALLEL_MAKE} ${MESON_TARGET} } meson_do_install() { From patchwork Mon Jun 29 14:15:58 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 91281 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 BCB1FC43602 for ; Mon, 29 Jun 2026 14:16:07 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38495.1782742565201113532 for ; Mon, 29 Jun 2026 07:16:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=U0pF37Lc; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 29C0116A3 for ; Mon, 29 Jun 2026 07:16:00 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2C6A23F905 for ; Mon, 29 Jun 2026 07:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782742564; bh=MnSkzdx7mtHdtKhO9KF5ztfUK0aftnCOhIPmXz3bAbk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=U0pF37Lc651m/BmwWvg1Aoqy8+E7QoYIZXAvRFSJw9PApPnj/ZmKUXdKcCM9K1aLm wTcx9zdMqBIpJ427uUpt642gE9zojUbaDiPPWUWbsqtkvbmuq2iTEG0M+Njc3Z7grj NbWYaQtxFTmq02YS+1nJ2hT8oVhOOmsTMxs02guk= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/3] systemd-systemctl-native: update MESON_TARGET for direct ninja use Date: Mon, 29 Jun 2026 15:15:58 +0100 Message-ID: <20260629141559.1305873-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260629141559.1305873-1-ross.burton@arm.com> References: <20260629141559.1305873-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 29 Jun 2026 14:16:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239786 We can't specify the target type now that the Meson class calls ninja directly, so drop it. This doesn't change what is built. Signed-off-by: Ross Burton --- meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb b/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb index 3d01d60e9c1..351f78d173c 100644 --- a/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb +++ b/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb @@ -8,7 +8,7 @@ DEPENDS = "gperf-native libcap-native util-linux-native python3-jinja2-native" inherit pkgconfig meson native -MESON_TARGET = "systemctl:executable" +MESON_TARGET = "systemctl" MESON_INSTALL_TAGS = "systemctl" EXTRA_OEMESON += "-Dlink-systemctl-shared=false" EXTRA_OEMESON += "-Dsysvinit-path= -Dsysvrcnd-path=" From patchwork Mon Jun 29 14:15:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 91280 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 B1335C43458 for ; Mon, 29 Jun 2026 14:16:07 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38497.1782742565834343997 for ; Mon, 29 Jun 2026 07:16:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=sumKoHwr; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E9CBD16A3 for ; Mon, 29 Jun 2026 07:16:00 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 002A53F905 for ; Mon, 29 Jun 2026 07:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782742565; bh=2H8fTXrunmek2i3KsRlWY3t387lSA6GNZnTNb4ES240=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sumKoHwrV2P5LRJaJbonM1bKirIgYsYbnX/BfJaD7HC0siY2p30q/nJfGHghiqRom kwtjYK5HFXCBFSoddITVK3Y1swBoba7tXybMgW/RT34k66oP+E+HFkJPHpHElwyyFL VCyvUJEeT8a1V0x4b3ZIUb/vsaWWt3OI3JTTYhmo= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/3] systemd-systemctl-native: remove systemd-sysv-install logic Date: Mon, 29 Jun 2026 15:15:59 +0100 Message-ID: <20260629141559.1305873-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260629141559.1305873-1-ross.burton@arm.com> References: <20260629141559.1305873-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 29 Jun 2026 14:16:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239787 The use of systemd-sysv-install was removed before Wrynose[1], so we do not need to install it in systemd-systemctl-native. [1] oe-core d9ec9e20eeb ("systemd: Stop supporting sysvinit compatibility") Signed-off-by: Ross Burton --- .../systemd/systemd-systemctl-native_259.5.bb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb b/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb index 351f78d173c..bf9c9f47763 100644 --- a/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb +++ b/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb @@ -17,12 +17,3 @@ EXTRA_OEMESON += "-Dsysvinit-path= -Dsysvrcnd-path=" # determined at run-time, but rather set during configure # More details are here https://github.com/systemd/systemd/issues/35897#issuecomment-2665405887 EXTRA_OEMESON += "--sysconfdir ${sysconfdir_native}" - -do_install:append() { - # Install systemd-sysv-install in /usr/bin rather than /usr/lib/systemd - # (where it is normally installed) so systemctl can find it in $PATH. - # It is expected that the use of systemd-sysv-install will be removed - # with version 259 of systemd and then this, and everything that was - # added along with it, should be reverted. - install -Dm 0755 ${S}/src/systemctl/systemd-sysv-install.SKELETON ${D}${bindir}/systemd-sysv-install -}