]> git.ipfire.org Git - thirdparty/systemd.git/commit
extension-release.d/: add a new field SYSEXT_SCOPE= for clarifying what a system...
authorLennart Poettering <lennart@poettering.net>
Thu, 18 Nov 2021 21:00:31 +0000 (22:00 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Nov 2021 21:55:11 +0000 (22:55 +0100)
commit60c5f7002bfee928fb8799eb35e5cc95da982a48
tree914764af8704c787ece225a0f97aa01afefa4c22
parenta4e0d6171318b5f381a1cbdb6de895920d7f15d6
extension-release.d/: add a new field SYSEXT_SCOPE= for clarifying what a system extension is for

This should make things a bit more robust since it ensures system
extension can only applied to the right environments. Right now three
different "scopes" are defined:

1. "system" (for regular OS systems, after the initrd transition)
2. "initrd" (for sysext images that apply to the initrd environment)
3. "portable" (for sysext images that apply to portable images)

If not specified we imply a default of "system portable", i.e. any image
where the field is not specified is implicitly OK for application to OS
images and for portable services – but not for initrds.
man/os-release.xml
src/core/namespace.c
src/portable/portable.c
src/shared/dissect-image.c
src/shared/dissect-image.h
src/shared/extension-release.c
src/shared/extension-release.h
src/shared/mount-util.c
src/sysext/sysext.c