mbox series

[v5,0/2] systemd: upgrade to 261.1 and be compatible with rhel8

Message ID 20260722131640.4155716-1-daniel.turull@ericsson.com
Headers show
Series systemd: upgrade to 261.1 and be compatible with rhel8 | expand

Message

Daniel Turull July 22, 2026, 1:16 p.m. UTC
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.
v5:
 - on top of master-next and ross systemd patches
  systemd: no need to use qemu for hwdb update
  systemd-tools-native: add systemd-hwdb
 - update to 261.1 instead of 261
 - simplify patches based on Ross work

Tested on rhel8.10 with testsuite systemd on qemux86-64

Daniel Turull (2):
  systemd: upgrade to 261.1
  systemd-tools-native: fix systemctl/hwdb --root on RHEL 8 hosts

 ..._259.5.bb => systemd-boot-native_261.1.bb} |   0
 ...md-boot_259.5.bb => systemd-boot_261.1.bb} |   0
 ...259.5.bb => systemd-tools-native_261.1.bb} |   3 +
 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 -----------
 ...issing-STATX_MNT_ID-on-older-kernels.patch | 160 ++++++++++++++++++
 .../{systemd_259.5.bb => systemd_261.1.bb}    |  12 +-
 10 files changed, 174 insertions(+), 232 deletions(-)
 rename meta/recipes-core/systemd/{systemd-boot-native_259.5.bb => systemd-boot-native_261.1.bb} (100%)
 rename meta/recipes-core/systemd/{systemd-boot_259.5.bb => systemd-boot_261.1.bb} (100%)
 rename meta/recipes-core/systemd/{systemd-tools-native_259.5.bb => systemd-tools-native_261.1.bb} (89%)
 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-STATX_MNT_ID-on-older-kernels.patch
 rename meta/recipes-core/systemd/{systemd_259.5.bb => systemd_261.1.bb} (99%)