Skip to content

Commit 5c1cc4b

Browse files
committed
build_sysext: Set daemon reload metadata field
Most sysexts need a daemon reload to get their services (re)started when systemd-sysext (re)loads extensions after boot. Up to now this was done through ensure-sysext.service but only when systemd-sysext.service was restarted. A manual invocation of systemd-sysext did not get the daemon reload and, e.g., Docker failed to start. Since the daemon reload is done when at least one extension needs it and we can say that this is likely true for most of the extensions we build, we can unconditionally set it for now and see if we need to make it conditional per sysext later, e.g., when one could only have plain CLI extensions and no service extensions such as Docker/containerd or Podman (and even NVIDIA/ZFS require services after load). Signed-off-by: Kai Lueke <kailuke@microsoft.com>
1 parent 4171627 commit 5c1cc4b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎build_sysext‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ all_fields=(
292292
'ID=flatcar'
293293
"${version_field}"
294294
"ARCHITECTURE=${ARCH}"
295+
"EXTENSION_RELOAD_MANAGER=1"
295296
)
296297
printf '%s\n' "${all_fields[@]}" >"${BUILD_DIR}/${FLAGS_install_root_basename}/usr/lib/extension-release.d/extension-release.${SYSEXTNAME}"
297298

0 commit comments

Comments
 (0)