mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/systemd: bump required toolchain headers for systemd-networkd
Since 256.12 systemd-networkd requires kernel >=5.4 due to the inclusion of
the sockios.h header, which uses the SIOCGSTAMP_OLD macro.
The same change has already been applied to master/2025.08 in
7d8d48cd2b
Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
7bb7c0a231
commit
74f84ce531
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user