From: <daniel.turull@ericsson.com>
To: <daniel.turull@ericsson.com>,
<openembedded-core@lists.openembedded.org>, <ross.burton@arm.com>,
<mathieu.dubois-briand@bootlin.com>
Cc: <anders.heimer@est.tech>, <qi.chen@windriver.com>,
<alex.kanavin@gmail.com>, <richard.purdie@linuxfoundation.org>,
<joerg.sommer@navimatix.de>
Subject: [PATCH v4 0/2] systemd: update to 261 and be compatible with rhel8
Date: Fri, 3 Jul 2026 09:29:30 +0200 [thread overview]
Message-ID: <20260703072948.2939128-1-daniel.turull@ericsson.com> (raw)
From: Daniel Turull <daniel.turull@ericsson.com>
systemd increases the dependency on the host kernel,
which breaks builds with rhel 8
This series add native patches in the systemd tools
to make it work.
v2:
- re-add tag verification in SRC_URI
v3:
- rebase on top of Ross Burton meson patches. if not needed keep v2
- re-tested
See https://patchwork.yoctoproject.org/project/oe-core/patch/20260629141559.1305873-1-ross.burton@arm.com/
v4:
- still on top of Meson patches from Ross
- merge systemd-systemctl-native and systemd-hwdb-native into
systemd-tools-native and update references
(this will cause meta-oe postgresql to fail). I'm planning to send
a patch to it once we merge this one.
Tested on rhel8.10 with testsuite systemd on qemux86-64
Daniel Turull (2):
systemd: upgrade to 261
systemd: add native hwdb generator via merged systemd-tools-native
meta/classes-recipe/systemd.bbclass | 4 +-
meta/conf/distro/include/maintainers.inc | 2 +-
meta/recipes-bsp/keymaps/keymaps_1.0.bb | 2 +-
.../initscripts/initscripts_1.0.bb | 2 +-
...ve_259.5.bb => systemd-boot-native_261.bb} | 0
...temd-boot_259.5.bb => systemd-boot_261.bb} | 0
.../systemd/systemd-systemctl-native_259.5.bb | 19 --
.../systemd/systemd-tools-native_261.bb | 42 +++++
meta/recipes-core/systemd/systemd.inc | 8 +-
...meson-use-libfido2_cflags-dependency.patch | 54 ------
.../0003-Do-not-create-var-log-README.patch | 10 +-
...il-fix-PCR-bank-guessing-without-EFI.patch | 62 ------
...-detailed-debug-logging-to-fdset_new.patch | 97 ----------
...idfd_open-and-STATX_MNT_ID-on-older-.patch | 176 ++++++++++++++++++
...t-mode-for-reproducible-cross-builds.patch | 36 ++++
.../{systemd_259.5.bb => systemd_261.bb} | 14 +-
.../modutils-initscripts.bb | 2 +-
scripts/postinst-intercepts/update_udev_hwdb | 24 ++-
18 files changed, 292 insertions(+), 262 deletions(-)
rename meta/recipes-core/systemd/{systemd-boot-native_259.5.bb => systemd-boot-native_261.bb} (100%)
rename meta/recipes-core/systemd/{systemd-boot_259.5.bb => systemd-boot_261.bb} (100%)
delete mode 100644 meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
create mode 100644 meta/recipes-core/systemd/systemd-tools-native_261.bb
delete mode 100644 meta/recipes-core/systemd/systemd/0001-meson-use-libfido2_cflags-dependency.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0004-tpm2-util-fix-PCR-bank-guessing-without-EFI.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0018-shared-fdset-add-detailed-debug-logging-to-fdset_new.patch
create mode 100644 meta/recipes-core/systemd/systemd/Handle-missing-pidfd_open-and-STATX_MNT_ID-on-older-.patch
create mode 100644 meta/recipes-core/systemd/systemd/hwdb-use-compat-mode-for-reproducible-cross-builds.patch
rename meta/recipes-core/systemd/{systemd_259.5.bb => systemd_261.bb} (99%)
next reply other threads:[~2026-07-03 7:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-03 7:29 daniel.turull [this message]
2026-07-03 7:29 ` [PATCH v4 1/2] systemd: upgrade to 261 daniel.turull
2026-07-03 7:29 ` [PATCH v4 2/2] systemd: add native hwdb generator via merged systemd-tools-native daniel.turull
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=20260703072948.2939128-1-daniel.turull@ericsson.com \
--to=daniel.turull@ericsson.com \
--cc=alex.kanavin@gmail.com \
--cc=anders.heimer@est.tech \
--cc=joerg.sommer@navimatix.de \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=qi.chen@windriver.com \
--cc=richard.purdie@linuxfoundation.org \
--cc=ross.burton@arm.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