Systemd 259.10 upgrade
v3 cover Systemd 259.10 upgrade
- Drop systemd-systemctl-native rename patches from v1
Jaipaul Cheernam (1):
systemd: Upgrade 259.5 -> 259.10
Ross Burton (7):
keymaps: remove obsolete systemd masking
initscripts: remove obsolete systemd masking
modutils-initscripts: remove obsolete systemd masking
systemd: move systemd-systemctl-native PACKAGE_WRITE_DEPS to
systemd.bb
classes/systemd: remove obsolete DEPENDS
systemd-systemctl-native: add systemd-hwdb
systemd: no need to use qemu for hwdb update
meta/classes-recipe/systemd.bbclass | 2 -
meta/recipes-bsp/keymaps/keymaps_1.0.bb | 17 -----
.../initscripts/initscripts_1.0.bb | 26 --------
...259.5.bb => systemd-boot-native_259.10.bb} | 0
...d-boot_259.5.bb => systemd-boot_259.10.bb} | 0
.../systemd-systemctl-native_259.10.bb | 39 ++++++++++++
.../systemd/systemd-systemctl-native_259.5.bb | 29 ---------
meta/recipes-core/systemd/systemd.inc | 2 +-
...use-traffic-from-the-local-host-only.patch | 61 ------------------
...il-fix-PCR-bank-guessing-without-EFI.patch | 62 -------------------
.../{systemd_259.5.bb => systemd_259.10.bb} | 12 ++--
.../modutils-initscripts.bb | 10 ---
scripts/postinst-intercepts/update_udev_hwdb | 18 +++---
13 files changed, 55 insertions(+), 223 deletions(-)
rename meta/recipes-core/systemd/{systemd-boot-native_259.5.bb => systemd-boot-native_259.10.bb} (100%)
rename meta/recipes-core/systemd/{systemd-boot_259.5.bb => systemd-boot_259.10.bb} (100%)
create mode 100644 meta/recipes-core/systemd/systemd-systemctl-native_259.10.bb
delete mode 100644 meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
delete mode 100644 meta/recipes-core/systemd/systemd/0001-Revert-resolve-refuse-traffic-from-the-local-host-only.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0004-tpm2-util-fix-PCR-bank-guessing-without-EFI.patch
rename meta/recipes-core/systemd/{systemd_259.5.bb => systemd_259.10.bb} (99%)PATCH v3 1/8 keymaps: remove obsolete systemd masking
From: Ross Burton <[email protected]>
systemd no longer has sysvinit compatibility[1], so it won't try and run the init script in this recipe that is also implemented by systemd.
Remove the explicit systemd unit masking, effectively reverting [2].
[1] oe-core d9ec9e20eeb ("systemd: Stop supporting sysvinit compatibility")
[2] oe-core 8cfba07e24 ("keymaps: mask keymap when necessary")
--- meta/recipes-bsp/keymaps/keymaps_1.0.bb | 17 ----------------- 1 file changed, 17 deletions(-)
meta/recipes-bsp/keymaps/keymaps_1.0.bb +0 -17
@@ -11,13 +11,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" INHIBIT_DEFAULT_DEPS = "1" -# As the recipe doesn't inherit systemd.bbclass, we need to set this variable -# manually to avoid unnecessary postinst/preinst generated. -python __anonymous() { - if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): - d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") -} - inherit update-rc.d SRC_URI = "file://keymap.sh"
@@ -36,14 +29,4 @@ do_install () { fi } -PACKAGE_WRITE_DEPS:append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','systemd-systemctl-native','',d)}" -pkg_postinst:${PN} () { - if ${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','true','false',d)}; then - if [ -n "$D" ]; then - OPTS="--root=$D" - fi - systemctl $OPTS mask keymap.service - fi -} - ALLOW_EMPTY:${PN} = "1"
PATCH v3 2/8 initscripts: remove obsolete systemd masking
In reply to Jaipaul CheernamFrom: Ross Burton <[email protected]>
systemd no longer has sysvinit compatibility[1], so it won't try and run the init script in this recipe that is also implemented by systemd.
Remove the explicit systemd unit masking, effectively reverting [2].
[1] oe-core d9ec9e20eeb ("systemd: Stop supporting sysvinit compatibility")
[2] oe-core 844f897710 ("initscripts: mask initscripts from systemd")
--- .../initscripts/initscripts_1.0.bb | 26 ------------------- 1 file changed, 26 deletions(-)
meta/recipes-core/initscripts/initscripts_1.0.bb +0 -26
@@ -41,7 +41,6 @@ S = "${UNPACKDIR}" KERNEL_VERSION = "" DEPENDS:append = " update-rc.d-native" -PACKAGE_WRITE_DEPS:append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" PACKAGES =+ "${PN}-functions ${PN}-sushell" RDEPENDS:${PN} = "initd-functions \
@@ -154,32 +153,7 @@ do_install () { update-rc.d -r ${D} dmesg.sh start 38 S . } -MASKED_SCRIPTS = " \ - banner \ - bootmisc \ - checkfs \ - checkroot \ - devpts \ - dmesg \ - hostname \ - mountall \ - mountnfs \ - populate-volatile \ - read-only-rootfs-hook \ - rmnologin \ - sysfs \ - urandom" - pkg_postinst:${PN} () { - if type systemctl >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPTS="--root=$D" - fi - for SERVICE in ${MASKED_SCRIPTS}; do - systemctl $OPTS mask $SERVICE.service - done - fi - # Delete any old volatile cache script, as directories may have moved if [ -z "$D" ]; then rm -f "/etc/volatile.cache"
PATCH v3 3/8 modutils-initscripts: remove obsolete systemd masking
In reply to Jaipaul CheernamFrom: Ross Burton <[email protected]>
systemd no longer has sysvinit compatibility[1], so it won't try and run the init script in this recipe that is also implemented by systemd.
Remove the explicit systemd unit masking, effectively reverting [2].
[1] oe-core d9ec9e20eeb ("systemd: Stop supporting sysvinit compatibility")
[2] oe-core 8fc304a59b ("modutils-initscripts: mask modutils in case of systemd")
--- .../modutils-initscripts/modutils-initscripts.bb | 10 ---------- 1 file changed, 10 deletions(-)
meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb +0 -10
@@ -18,13 +18,3 @@ do_install () { install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${S}/modutils.sh ${D}${sysconfdir}/init.d/ } - -PACKAGE_WRITE_DEPS:append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" -pkg_postinst:${PN} () { - if type systemctl >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPTS="--root=$D" - fi - systemctl $OPTS mask modutils.service - fi -}
PATCH v3 4/8 systemd: move systemd-systemctl-native PACKAGE_WRITE_DEPS to systemd.bb
In reply to Jaipaul CheernamFrom: Ross Burton <[email protected]>
PACKAGE_WRITE_DEPS[1] is used to define package dependencies that are needed at rootfs time, for example when a postinst can use a native tool.
We allow distros to build recipes that support both systemd and sysv at the same time, and the post-install script generated by systemd.bbclass will use systemctl (via systemd-systemctl-native) at rootfs time to install the units and thus generate the required symlinks.
Presently the dependency on systemctl-native is added to recipes via systemd.bbclass but this results in all recipes that inherit that class having the dependencies. This is actually suboptimal: at rootfs time the key requirement is to install the units if and only if systemd is being used.
We can move the PACKAGE_WRITE_DEPS dependency on systemd-systemctl-native from each recipe (via the class) to systemd itself so units are installed if systemd is present, and not otherwise.
This means recipes don't depend on systemd-systemctl-native (which has non-trivial build dependencies itself), and the units are not installed in non-systemd deployments.
[1] https://docs.yoctoproject.org/ref-manual/variables.html#term-PACKAGE_WRITE_DEPS
--- meta/classes-recipe/systemd.bbclass | 1 - meta/recipes-core/systemd/systemd_259.5.bb | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-)
meta/classes-recipe/systemd.bbclass +0 -1
@@ -22,7 +22,6 @@ python __anonymous() { # redundant init files. if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d): d.appendVar("DEPENDS", " systemd-systemctl-native") - d.appendVar("PACKAGE_WRITE_DEPS", " systemd-systemctl-native") d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") }
meta/recipes-core/systemd/systemd_259.5.bb +4 -0
@@ -22,6 +22,10 @@ REQUIRED_DISTRO_FEATURES += "systemd" # this and hence we can no longer support it CONFLICT_DISTRO_FEATURES += "sysvinit" +# Ensure that the native tools are available when we're building a rootfs with systemd in, +# so that systemctl can be used in postinst scripts +PACKAGE_WRITE_DEPS += "systemd-systemctl-native" + SRC_URI += " \ file://touchscreen.rules \ file://00-create-volatile.conf \
PATCH v3 5/8 classes/systemd: remove obsolete DEPENDS
In reply to Jaipaul CheernamFrom: Ross Burton <[email protected]>
Recipes that use systemd don't need systemctl at build time, so this dependency can be removed.
It was added in [1] but no rationale was given or is obvious.
[1] oe-core e9444649f4 ("systemd: Restore mask and preset targets, fix instance creation")
--- meta/classes-recipe/systemd.bbclass | 1 - 1 file changed, 1 deletion(-)
meta/classes-recipe/systemd.bbclass +0 -1
@@ -21,7 +21,6 @@ python __anonymous() { # Inhibit update-rcd from doing any work so that systemd images don't have # redundant init files. if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d): - d.appendVar("DEPENDS", " systemd-systemctl-native") d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") }
PATCH v3 6/8 systemd-systemctl-native: add systemd-hwdb
In reply to Jaipaul CheernamFrom: Ross Burton <[email protected]>
Also build systemd-hwdb so that we can generate hwdb.bin at rootfs time with native code instead of using qemu-user. I've verified that the hwdb.bin format is word-size and endian agnosic, so we don't need to use qemu.
Add a patch so that source file names in the hwdb.bin have the rootfs prefix stripped, so that build paths don't appear in the final image.
This does mean we have to hardcode prefix=/usr sysconfdir=/etc as the target paths, but systemd effectively mandates these so hopefully this is not a problem in the real world.
Partially based on work by Daniel Turull.
Note: applied to the wrynose systemd-systemctl-native recipe (not renamed to systemd-tools-native). Kept our MESON_TARGET ":executable" qualifier, -Dpam=disabled and the systemd-sysv-install do_install; DEPENDS is left as-is. The strip-the-root patch is only needed on 259.5 and is dropped again in the 259.10 uplift, where it is already upstream.
--- .../systemd/systemd-systemctl-native_259.5.bb | 24 ++++++++--- ...oot-from-filenames-when-generating-h.patch | 40 +++++++++++++++++++ 2 files changed, 58 insertions(+), 6 deletions(-) create mode 100644 meta/recipes-core/systemd/systemd/0001-hwdb-strip-the-root-from-filenames-when-generating-h.patch
meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb +18 -6
@@ -4,20 +4,28 @@ SUMMARY = "Systemctl executable from systemd" require systemd.inc +SRC_URI += "file://0001-hwdb-strip-the-root-from-filenames-when-generating-h.patch" + DEPENDS = "gperf-native libcap-native util-linux-native python3-jinja2-native" inherit pkgconfig meson native -MESON_TARGET = "systemctl:executable" +MESON_TARGET = "systemctl:executable systemd-hwdb:executable" MESON_INSTALL_TAGS = "systemctl" -EXTRA_OEMESON += "-Dlink-systemctl-shared=false" + +# Link the binaries statically as we don't install libsystemd-shared.so +EXTRA_OEMESON += "-Dlink-systemctl-shared=false -Dlink-udev-shared=false" EXTRA_OEMESON += "-Dsysvinit-path= -Dsysvrcnd-path=" EXTRA_OEMESON += "-Dpam=disabled" -# Systemctl is supposed to operate on target, but the target sysroot is not -# 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}" +# Target-absolute paths that satisfy both tools from one meson configure: +# - systemd-hwdb needs prefix=/usr so the compiled-in UDEVLIBEXECDIR +# (/usr/lib/udev) matches the target rootfs layout, letting +# "update --root $D --usr" find hwdb.d sources and write hwdb.bin there. +# - systemctl needs sysconfdir=/etc; it operates on the target rootfs but the +# sysroot is fixed at configure time rather than run time. +# See https://github.com/systemd/systemd/issues/35897#issuecomment-2665405887 +EXTRA_OEMESON += "--prefix /usr --sysconfdir /etc" do_install:append() { # Install systemd-sysv-install in /usr/bin rather than /usr/lib/systemd
@@ -26,4 +34,8 @@ do_install:append() { # 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 + + # Can't install this with a tag "hwdb" also tries to install the hwdb + # itself, and there's no separate tag for systemd-hwdb. + install ${B}/systemd-hwdb ${D}${bindir}/systemd-hwdb }
meta/recipes-core/systemd/systemd/0001-hwdb-strip-the-root-from-filenames-when-generating-h.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 0031715c560e8138cc320f017a0a2c7160b1f7fe Mon Sep 17 00:00:00 2001 +From: Ross Burton <[email protected]> +Date: Fri, 17 Jul 2026 17:25:31 +0100 +Subject: [PATCH] hwdb: strip the root from filenames when generating hwdb.bin + +The modern hwdb.bin format contains the filenames of the input data that +makes up the database. This is useful but in offline builds where +--root is used, the filenames are the full build paths including the +specified root. This introduces build paths and thus information +leakage and non-reproducible data. + +Solve this by stripping the root prefix off the original path when +passing to import_file. + +Upstream-Status: Backport [https://github.com/systemd/systemd/pull/43062] +Signed-off-by: Ross Burton <[email protected]> +--- + src/shared/hwdb-util.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/shared/hwdb-util.c b/src/shared/hwdb-util.c +index b42681a289..5386b4e9f4 100644 +--- a/src/shared/hwdb-util.c ++++ b/src/shared/hwdb-util.c +@@ -632,9 +632,11 @@ int hwdb_update(const char *root, const char *hwdb_bin_dir, bool strict, bool co + + FOREACH_ARRAY(i, files, n_files) { + ConfFile *c = *i; ++ char *path_in_root; + + log_debug("Reading file \"%s\" -> \"%s\"", c->original_path, c->resolved_path); +- RET_GATHER(ret, import_file(trie, c->fd, c->original_path, file_priority++, compat)); ++ path_in_root = path_startswith_full(c->original_path, empty_to_root(root), PATH_STARTSWITH_RETURN_LEADING_SLASH); ++ RET_GATHER(ret, import_file(trie, c->fd, path_in_root, file_priority++, compat)); + } + + strbuf_complete(trie->strings); +-- +2.43.0 +
PATCH v3 7/8 systemd: no need to use qemu for hwdb update
In reply to Jaipaul CheernamFrom: Ross Burton <[email protected]>
Now that systemd-tools-native gives us a native systemd-hwdb, and the database format is known to be hardware-agnostic, we can simply run systemd-hwdb directly instead of running it inside qemu-user if we're using systemd instead of eudev.
--- meta/recipes-core/systemd/systemd_259.5.bb | 6 ++---- scripts/postinst-intercepts/update_udev_hwdb | 18 +++++++++--------- 2 files changed, 11 insertions(+), 13 deletions(-)
meta/recipes-core/systemd/systemd_259.5.bb +2 -4
@@ -915,12 +915,10 @@ pkg_prerm:${PN}:libc-glibc () { fi } -PACKAGE_WRITE_DEPS += "qemuwrapper-cross" - pkg_postinst:udev-hwdb () { if test -n "$D"; then - $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} \ - rootlibexecdir="${nonarch_libdir}" PREFERRED_PROVIDER_udev="${PREFERRED_PROVIDER_udev}" base_bindir="${base_bindir}" + $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} \ + PREFERRED_PROVIDER_udev="${PREFERRED_PROVIDER_udev}" else systemd-hwdb update fi
scripts/postinst-intercepts/update_udev_hwdb +9 -9
@@ -7,19 +7,19 @@ set -e case "${PREFERRED_PROVIDER_udev}" in systemd) - UDEV_EXTRA_ARGS="--usr" - UDEVLIBDIR="${rootlibexecdir}" - UDEVADM="${base_bindir}/udevadm" + echo Updating HWDB with native systemd-hwdb... + systemd-hwdb update --root $D --usr ;; *) - UDEV_EXTRA_ARGS="" + echo Updating HWDB with udevadm... + UDEVLIBDIR="${sysconfdir}" UDEVADM="${bindir}/udevadm" + + rm -f $D${UDEVLIBDIR}/udev/hwdb.bin + PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${UDEVADM} hwdb --update --root $D || + PSEUDO_UNLOAD=1 qemuwrapper -L $D $D${UDEVADM} hwdb --update --root $D + chown root:root $D${UDEVLIBDIR}/udev/hwdb.bin ;; esac - -rm -f $D${UDEVLIBDIR}/udev/hwdb.bin -PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${UDEVADM} hwdb --update --root $D ${UDEV_EXTRA_ARGS} || - PSEUDO_UNLOAD=1 qemuwrapper -L $D $D${UDEVADM} hwdb --update --root $D ${UDEV_EXTRA_ARGS} -chown root:root $D${UDEVLIBDIR}/udev/hwdb.bin
PATCH v3 8/8 systemd: Upgrade 259.5 -> 259.10
In reply to Jaipaul Cheernam* Stable v259 release uplift
* CompareLog: https://github.com/systemd/systemd/compare/v259.5...v259.10
* Drop below patches which are part of upstream 0001-Revert-resolve-refuse-traffic-from-the-local-host-only.patch 0004-tpm2-util-fix-PCR-bank-guessing-without-EFI.patch
* Also drop 0001-hwdb-strip-the-root-from-filenames-when-generating-h.patch:
it was added for systemd-systemctl-native on 259.5, but the upstream fix (a9397de9d2) is already part of v259.8+, so it is redundant on 259.10.
---
...259.5.bb => systemd-boot-native_259.10.bb} | 0
...d-boot_259.5.bb => systemd-boot_259.10.bb} | 0
....bb => systemd-systemctl-native_259.10.bb} | 2 -
meta/recipes-core/systemd/systemd.inc | 2 +-
...use-traffic-from-the-local-host-only.patch | 61 ------------------
...oot-from-filenames-when-generating-h.patch | 40 ------------
...il-fix-PCR-bank-guessing-without-EFI.patch | 62 -------------------
.../{systemd_259.5.bb => systemd_259.10.bb} | 2 -
8 files changed, 1 insertion(+), 168 deletions(-)
rename meta/recipes-core/systemd/{systemd-boot-native_259.5.bb => systemd-boot-native_259.10.bb} (100%)
rename meta/recipes-core/systemd/{systemd-boot_259.5.bb => systemd-boot_259.10.bb} (100%)
rename meta/recipes-core/systemd/{systemd-systemctl-native_259.5.bb => systemd-systemctl-native_259.10.bb} (95%)
delete mode 100644 meta/recipes-core/systemd/systemd/0001-Revert-resolve-refuse-traffic-from-the-local-host-only.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0001-hwdb-strip-the-root-from-filenames-when-generating-h.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0004-tpm2-util-fix-PCR-bank-guessing-without-EFI.patch
rename meta/recipes-core/systemd/{systemd_259.5.bb => systemd_259.10.bb} (99%)meta/recipes-core/systemd/systemd-boot-native_259.10.bb renamed from meta/recipes-core/systemd/systemd-boot-native_259.5.bb +0 -0
meta/recipes-core/systemd/systemd-boot_259.10.bb renamed from meta/recipes-core/systemd/systemd-boot_259.5.bb +0 -0
meta/recipes-core/systemd/systemd-systemctl-native_259.10.bb renamed from meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb +0 -2
@@ -4,8 +4,6 @@ SUMMARY = "Systemctl executable from systemd" require systemd.inc -SRC_URI += "file://0001-hwdb-strip-the-root-from-filenames-when-generating-h.patch" - DEPENDS = "gperf-native libcap-native util-linux-native python3-jinja2-native" inherit pkgconfig meson native
meta/recipes-core/systemd/systemd.inc +1 -1
@@ -15,7 +15,7 @@ LICENSE:libsystemd = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=c09786363500a9acc29b147e6e72d2c6 \ file://LICENSE.LGPL2.1;md5=be0aaf4a380f73f7e00b420a007368f2" -SRCREV = "b3d8fc43e9cb531d958c17ef2cd93b374bc14e8a" +SRCREV = "cc6062f23cb595c172d9a007ed99d925852bfd60" SRCBRANCH = "v259-stable" SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV}"
meta/recipes-core/systemd/systemd/0001-Revert-resolve-refuse-traffic-from-the-local-host-only.patch deleted +0 -61
61 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0001-hwdb-strip-the-root-from-filenames-when-generating-h.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 0031715c560e8138cc320f017a0a2c7160b1f7fe Mon Sep 17 00:00:00 2001 -From: Ross Burton <[email protected]> -Date: Fri, 17 Jul 2026 17:25:31 +0100 -Subject: [PATCH] hwdb: strip the root from filenames when generating hwdb.bin - -The modern hwdb.bin format contains the filenames of the input data that -makes up the database. This is useful but in offline builds where ---root is used, the filenames are the full build paths including the -specified root. This introduces build paths and thus information -leakage and non-reproducible data. - -Solve this by stripping the root prefix off the original path when -passing to import_file. - -Upstream-Status: Backport [https://github.com/systemd/systemd/pull/43062] -Signed-off-by: Ross Burton <[email protected]> ---- - src/shared/hwdb-util.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/shared/hwdb-util.c b/src/shared/hwdb-util.c -index b42681a289..5386b4e9f4 100644 ---- a/src/shared/hwdb-util.c -+++ b/src/shared/hwdb-util.c -@@ -632,9 +632,11 @@ int hwdb_update(const char *root, const char *hwdb_bin_dir, bool strict, bool co - - FOREACH_ARRAY(i, files, n_files) { - ConfFile *c = *i; -+ char *path_in_root; - - log_debug("Reading file \"%s\" -> \"%s\"", c->original_path, c->resolved_path); -- RET_GATHER(ret, import_file(trie, c->fd, c->original_path, file_priority++, compat)); -+ path_in_root = path_startswith_full(c->original_path, empty_to_root(root), PATH_STARTSWITH_RETURN_LEADING_SLASH); -+ RET_GATHER(ret, import_file(trie, c->fd, path_in_root, file_priority++, compat)); - } - - strbuf_complete(trie->strings); --- -2.43.0 -
meta/recipes-core/systemd/systemd/0004-tpm2-util-fix-PCR-bank-guessing-without-EFI.patch deleted +0 -62
62 lines not on this page · raw message
meta/recipes-core/systemd/systemd_259.10.bb renamed from meta/recipes-core/systemd/systemd_259.5.bb +0 -2
@@ -38,8 +38,6 @@ SRC_URI += " \ file://0003-Do-not-create-var-log-README.patch \ file://0001-meson-use-libfido2_cflags-dependency.patch \ file://0018-shared-fdset-add-detailed-debug-logging-to-fdset_new.patch \ - file://0004-tpm2-util-fix-PCR-bank-guessing-without-EFI.patch \ - file://0001-Revert-resolve-refuse-traffic-from-the-local-host-only.patch \ " PAM_PLUGINS = " \