package/systemd: bump to version 257.5

Noteable changes:
  - Add -Dipe=false and -Dsysupdated=disabled as defaults to CONF_OPTS and
    HOST_CONF_OPTS. If another user has a use for either, they can submit a
    patch at a later date.

  - systemd-networkd now requires kernel >= 5.4 due to the inclusion of the
    sockios.h header, which uses the SIOCGSTAMP_OLD macro. This macro was first
    introduced in kernel 5.2, but the official README recommends 5.4 as a
    baseline, so stick with that. Due to this change:
      - systemd-networkd now depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
      - default y only if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
      - Add a section in migrating.adoc about the new requirement

  - The sha256sum of README.md changed due to the addition of some CentOS CI
    lines.

  - Add the new license file LICENSES/alg-sha1-public-domain.txt.

For change log, see:
https://github.com/systemd/systemd/blob/v257.5/NEWS

Tested with `./utils/test-pkg -p systemd -a`
40 builds, 28 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed

Tested with `./support/testing/run-tests tests.init.test_systemd`
All tests passed

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Reviewed-by: Marcus Hoffmann <buildroot@bubu1.eu>
[Julien: add link to change log in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Adam Duskett
2025-05-14 11:07:44 +02:00
committed by Julien Olivain
parent 18a4a48255
commit 7d8d48cd2b
4 changed files with 25 additions and 7 deletions

View File

@@ -215,3 +215,10 @@ Cargo.lock file mandatory and the change from +.cargo/config+ to
+.cargo/config.toml+, tarballs generated by Cargo-fetched packages
have changed. Therefore the suffix of such tarballs has been changed
from +-cargo2+ to +-cargo4+.
[[migrating-systemd]]
=== Migrating to 2025.08
In 2025.08, starting with systemd version 257, systemd-networkd requires kernel
5.4 or later. If you are still using a kernel older than 5.4, please update
your kernel or use an alternative network manager.

View File

@@ -52,9 +52,11 @@ menuconfig BR2_PACKAGE_SYSTEMD
an elaborate transactional dependency-based service control
logic. It can work as a drop-in replacement for sysvinit.
Kernel versions below 4.15 ("recommended baseline") have
Kernel versions below 5.4 ("recommended baseline") have
significant gaps in functionality and are not recommended
for use with this version of systemd.
for use with this version of systemd. (e.g. lack race-free
process tracking by pidfd, systemd-networkd, and new mount
API support).
Systemd requires a Linux kernel >= 3.15 with the following
options enabled:
@@ -354,7 +356,8 @@ config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
config BR2_PACKAGE_SYSTEMD_NETWORKD
bool "enable network manager"
default y
default y if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
help
systemd-networkd is a system service that manages networks.
It detects and configures network devices as they appear, as
@@ -365,6 +368,9 @@ config BR2_PACKAGE_SYSTEMD_NETWORKD
https://www.freedesktop.org/software/systemd/man/systemd-networkd.html
comment "systemd-networkd needs a toolchain with kernel headers >= 5.4"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
config BR2_PACKAGE_SYSTEMD_OOMD
bool "enable out-of-memory killer"
help

View File

@@ -1,7 +1,8 @@
# sha256 locally computed
sha256 896d76ff65c88f5fd9e42f90d152b0579049158a163431dd77cdc57748b1d7b0 systemd-256.7.tar.gz
sha256 4d65f9482608cf9f7823df42a6d7796f0e0dfcfb94301df75effff86d40da33e systemd-257.5.tar.gz
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1
sha256 c9e7bf5b7c243c719b8b43c36158effb9b54c5e80abc9d82e4b2d4b2a4aa64ad LICENSES/alg-sha1-public-domain.txt
sha256 e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5 LICENSES/BSD-2-Clause.txt
sha256 83bb6bd9ccd2cf5230cb1807ed16258289768dc4d9cb80069a814e04415a1275 LICENSES/BSD-3-Clause.txt
sha256 a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499 LICENSES/CC0-1.0.txt
@@ -12,4 +13,4 @@ sha256 8a6fc0879cecc0b96bf4c08159b9d733bf0f15fcf32879aec98c4ffd05424554 LICENS
sha256 b85dcd3e453d05982552c52b5fc9e0bdd6d23c6f8e844b984a88af32570b0cc0 LICENSES/MIT.txt
sha256 2a98749f6bec00dfaed86fa9c1edea871aaae4f11ee4d100b671aaf4ce353a73 LICENSES/murmurhash2-public-domain.txt
sha256 1a7adaa2c86cedfd6c7f5c0c7c72fd6d3e02cd0c9593f21fdb53c89bb2b130ec LICENSES/OFL-1.1.txt
sha256 3df2dfbb09215ab1aecdd3c91d7fbe02fee4a0e75ef8967a25d1a6fe3b8abc06 LICENSES/README.md
sha256 8f3141489df84100440efa9911603e83757ff97f26f737e1d7fa2b25207a7905 LICENSES/README.md

View File

@@ -19,7 +19,7 @@
# - Diff sysusers.d with the previous version
# - Diff factory/etc/nsswitch.conf with the previous version
# (details are often sprinkled around in README and manpages)
SYSTEMD_VERSION = 256.7
SYSTEMD_VERSION = 257.5
SYSTEMD_SITE = $(call github,systemd,systemd,v$(SYSTEMD_VERSION))
SYSTEMD_LICENSE = \
LGPL-2.1+, \
@@ -35,6 +35,7 @@ SYSTEMD_LICENSE = \
SYSTEMD_LICENSE_FILES = \
LICENSE.GPL2 \
LICENSE.LGPL2.1 \
LICENSES/alg-sha1-public-domain.txt \
LICENSES/BSD-2-Clause.txt \
LICENSES/BSD-3-Clause.txt \
LICENSES/CC0-1.0.txt \
@@ -73,6 +74,7 @@ SYSTEMD_CONF_OPTS += \
-Dfirst-boot-full-preset=false \
-Didn=true \
-Dima=false \
-Dipe=false \
-Dkexec-path=/usr/sbin/kexec \
-Dkmod-path=/usr/bin/kmod \
-Dldconfig=false \
@@ -99,6 +101,7 @@ SYSTEMD_CONF_OPTS += \
-Dfuzz-tests=false \
-Dinstall-tests=false \
-Dlog-message-verification=disabled \
-Dsysupdated=disabled \
-Dtmpfiles=true \
-Dukify=disabled \
-Dbpf-framework=disabled \
@@ -1011,7 +1014,8 @@ HOST_SYSTEMD_CONF_OPTS = \
-Dopenssl=disabled \
-Dp11kit=disabled \
-Dlibfido2=disabled \
-Dpcre2=disabled
-Dpcre2=disabled \
-Dsysupdated=disabled
HOST_SYSTEMD_DEPENDENCIES = \
$(BR2_COREUTILS_HOST_DEPENDENCY) \