]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
systemd: upgrade from 257.8 to 258 mathieu/systemd-upgrade-tests
authorChen Qi <Qi.Chen@windriver.com>
Thu, 16 Oct 2025 08:47:00 +0000 (16:47 +0800)
committerMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Thu, 23 Oct 2025 08:33:52 +0000 (10:33 +0200)
commitc26cfb41c4463fe4d7575de44d0ba88f2b42cc1c
tree6b2ba70f16a91f3d4bf1bf24a95934d7cb221c5e
parent513db203be8983f1923fd702ab53121a94447a74
systemd: upgrade from 257.8 to 258

258 Release Changes:
https://github.com/systemd/systemd/releases/tag/v258

The 'runlevel', 'initctl', 'telinit' related contents are removed
because they are offically removed in v258.

Disable tests explicitly. This is because we're not installing any
tests. There's no point building them out. And this puts extra burden
on making things compile for musl.

gcrypt and gnutls PACKAGECONFIGs are removed as "OpenSSL is now the only
supported cryptography backend for systemd-resolved and systemd-importd."

musl changes:
1. This version has big changes in musl patches. The goal is to
   help maintenance. I want patches to be more easily applied
   to new versions. The count of files modified by musl specific
   patches decreased from 113 (v257) to 34 (v258).
2. All patches are re-evaluated.
   This version of systemd introduces big changes in header
   files and other places. So the previous musl patches are
   re-evaluated one by one. Those that are dropped are considered not
   needed. A few new ones are added. There are some notable ones.
   0012-do-not-disable-buffer-in-writing-files.patch is dropped because
   there is not runtime error.
   0016-Fix-the-segfault-for-glob-related-codes-and-define-d.patch is
   added because this version of systemd uses strv_free to free gl_pathv
   instead of relying on globfree provided by libc.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
41 files changed:
meta/recipes-core/systemd/systemd-boot-native_258.bb [moved from meta/recipes-core/systemd/systemd-boot-native_257.8.bb with 100% similarity]
meta/recipes-core/systemd/systemd-boot_258.bb [moved from meta/recipes-core/systemd/systemd-boot_257.8.bb with 100% similarity]
meta/recipes-core/systemd/systemd-systemctl-native_258.bb [moved from meta/recipes-core/systemd/systemd-systemctl-native_257.8.bb with 100% similarity]
meta/recipes-core/systemd/systemd.inc
meta/recipes-core/systemd/systemd/0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch
meta/recipes-core/systemd/systemd/0002-implment-systemd-sysv-install-for-OE.patch
meta/recipes-core/systemd/systemd/0003-Do-not-create-var-log-README.patch [moved from meta/recipes-core/systemd/systemd/0001-Do-not-create-var-log-README.patch with 84% similarity]
meta/recipes-core/systemd/systemd/0003-missing_type.h-add-comparison_fn_t.patch [deleted file]
meta/recipes-core/systemd/systemd/0004-musl.h-introduce-header-file-and-add-__THROW.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0005-add-fallback-parse_printf_format-implementation.patch [moved from meta/recipes-core/systemd/systemd/0004-add-fallback-parse_printf_format-implementation.patch with 88% similarity]
meta/recipes-core/systemd/systemd/0005-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch [deleted file]
meta/recipes-core/systemd/systemd/0006-Make-mallinfo-related-contents-glibc-specific.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0006-add-missing-FTW_-macros-for-musl.patch [deleted file]
meta/recipes-core/systemd/systemd/0007-Use-uintmax_t-for-handling-rlim_t.patch [deleted file]
meta/recipes-core/systemd/systemd/0007-add-src-include-override-sys-prctl.h-to-avoid-redefi.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0008-Define-glibc-compatible-basename-for-non-glibc-syste.patch [deleted file]
meta/recipes-core/systemd/systemd/0008-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch [moved from meta/recipes-core/systemd/systemd/0010-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch with 77% similarity]
meta/recipes-core/systemd/systemd/0009-Do-not-disable-buffering-when-writing-to-oom_score_a.patch [deleted file]
meta/recipes-core/systemd/systemd/0009-errno-util-Make-STRERROR-portable-for-musl.patch [moved from meta/recipes-core/systemd/systemd/0019-errno-util-Make-STRERROR-portable-for-musl.patch with 72% similarity]
meta/recipes-core/systemd/systemd/0010-src-basic-format-util.h-define-RLIM_FMT-to-fit-musl-.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0011-avoid-redefinition-of-prctl_mm_map-structure.patch [deleted file]
meta/recipes-core/systemd/systemd/0011-src-include-override-malloc.h-define-dummy-malloc_tr.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0012-do-not-disable-buffer-in-writing-files.patch [deleted file]
meta/recipes-core/systemd/systemd/0012-src-shared-condition.c-avoid-using-glibc-ConditionVe.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0013-Handle-__cpu_mask-usage.patch [deleted file]
meta/recipes-core/systemd/systemd/0013-build-path.c-avoid-boot-time-segfault-for-musl.patch [moved from meta/recipes-core/systemd/systemd/0026-build-path.c-avoid-boot-time-segfault-for-musl.patch with 77% similarity]
meta/recipes-core/systemd/systemd/0014-Handle-missing-gshadow-for-musl.patch [moved from meta/recipes-core/systemd/systemd/0014-Handle-missing-gshadow.patch with 71% similarity]
meta/recipes-core/systemd/systemd/0015-Avoid-sequence-point-error.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch [deleted file]
meta/recipes-core/systemd/systemd/0016-Fix-the-segfault-for-glob-related-codes-and-define-d.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0016-pass-correct-parameters-to-getdents64.patch [deleted file]
meta/recipes-core/systemd/systemd/0017-Adjust-for-musl-headers.patch [deleted file]
meta/recipes-core/systemd/systemd/0017-Always-include-netinet-if_ether.h-first.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0018-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch [deleted file]
meta/recipes-core/systemd/systemd/0020-sd-event-Make-malloc_trim-conditional-on-glibc.patch [deleted file]
meta/recipes-core/systemd/systemd/0021-shared-Do-not-use-malloc_info-on-musl.patch [deleted file]
meta/recipes-core/systemd/systemd/0022-avoid-missing-LOCK_EX-declaration.patch [deleted file]
meta/recipes-core/systemd/systemd/0023-include-signal.h-to-avoid-the-undeclared-error.patch [deleted file]
meta/recipes-core/systemd/systemd/0024-undef-stdin-for-references-using-stdin-as-a-struct-m.patch [deleted file]
meta/recipes-core/systemd/systemd/0025-adjust-header-inclusion-order-to-avoid-redeclaration.patch [deleted file]
meta/recipes-core/systemd/systemd_258.bb [moved from meta/recipes-core/systemd/systemd_257.8.bb with 92% similarity]