From: Zbigniew Jędrzejewski-Szmek Date: Mon, 23 Sep 2024 10:01:21 +0000 (+0200) Subject: man: say that SYSEXT_SCOPE=initrd also applies to exitrds X-Git-Tag: v257-rc1~356^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7352a0093f4ef96c361be22337cde3296d79da01;p=thirdparty%2Fsystemd.git man: say that SYSEXT_SCOPE=initrd also applies to exitrds We generally do _not_ want the same sysexts to be loaded in both initrd and exitrd phases. The environment is completely different and it's unlikely that the same code can be useful in both places. Nevertheless, it can be useful in _some_ cases, for example when the sysexts contains debugging tools. I think we don't need to differentiate between initrds and exitrds through SYSEXT_SCOPE, because the two types are made available in completely different locations and loaded through a different mechanism, with very little chance of an initrd being loaded as an exitrd without an explicit admin action (or the other way around). So let's not complicate our code or definitions by an explicit "exitrd" sysext designator, but just clarify that "initrd" also encompasses exitrds in this context. --- diff --git a/man/os-release.xml b/man/os-release.xml index 6fb3e1bb1a3..99e31ba24eb 100644 --- a/man/os-release.xml +++ b/man/os-release.xml @@ -594,10 +594,10 @@ Takes a space-separated list of one or more of the strings system, initrd and portable. This field is only supported in extension-release.d/ files and indicates what environments - the system extension is applicable to: i.e. to regular systems, to initrds, or to portable service - images. If unspecified, SYSEXT_SCOPE=system portable is implied, i.e. any system - extension without this field is applicable to regular systems and to portable service environments, - but not to initrd environments. + the system extension is applicable to: i.e. to regular systems, to initrds and exitrds, or to + portable service images. If not specified, SYSEXT_SCOPE=system portable is + implied, i.e. any system extension without this field is applicable to regular systems and to + portable service environments, but not to initrd/exitrd environments.