mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-11-11 11:08:52 -10:00
This version adds an IMDS (Cloud "Instance Metadata Service") subsystem, to recognize running in VMs provided by certain cloud providers and provide information on the instance. This is left disabled. The user "systemd-imds" defined in the new sysusers.d/systemd-imds.conf.in source file is only needed if IMDS is enabled. Excerpts from NEWS possibly relevant for other package builds and post scripts: * "libsystemd is no longer guaranteed to be linked against libm. [...] Consumers that rely on libsystemd transitively pulling in libm should link against it themselves." [1] * "Individual binaries now also embed the dlopen ELF metadata note (https://uapi-group.org/specifications/specs/elf_dlopen_metadata/) for their dlopen() dependencies, which allows packaging tools to reliably discover the set of optional dependencies of a binary, [...]" [2] New options: * "sysinstall" enables a textual installer/setup tool, disabled * "imds" enables/disables the new IMDS subsystem, disabled * "imds-network" has no effect with imds disabled, leave unset * "systemd-imds-uid" is left unset like other fixed uid options Building with kernel headers <5.12 fails because the epoll_pwait2 and mount_setattr syscalls are undefined (either may appear in the error message depending on build order). Upstream has rejected an issue about the latter [3] without changing the "minimum baseline", so we have to conclude only the "recommended baseline" is supported for building. Update our header requirements accordingly, drop the config comment about the recommended version because it is now required, and note it in the update instructions in package/systemd/systemd.mk. Please see the upstream NEWS file for other changes [4]. Hash of LICENSES/README.md changed due to licence changes (to MIT-0) [5,6] and renaming [7] of listed files. [1] https://github.com/systemd/systemd/blob/v261.4/NEWS#L100-L110 [2] https://github.com/systemd/systemd/blob/v261.4/NEWS#L604-L608 [3] https://github.com/systemd/systemd/issues/43575 [4] https://github.com/systemd/systemd/blob/v261.4/NEWS [5]919b8c7c92[6]b5ee53b6c8[7]74d392ed1bSigned-off-by: Fiona Klute (othermo GmbH) <fiona.klute@gmx.de> Signed-off-by: Julien Olivain <ju.o@free.fr>