sysext: support distribution-independent extensions using ID=_any
authorKai Lueke <kailuke@microsoft.com>
Tue, 9 Aug 2022 11:34:18 +0000 (13:34 +0200)
committerKai Lueke <kailuke@microsoft.com>
Mon, 15 Aug 2022 08:51:01 +0000 (10:51 +0200)
commitab4d43c54e977e5e53a98da3e77fd71a62b4fbfb
tree6254849284a4f0c44be765528c8ba5c4122d259f
parent78fa2f91d208b51f2a4878012b9558389e9a7660
sysext: support distribution-independent extensions using ID=_any

A sysext image that merely contains static binaries has no dependency
on the host distribution and should be able to be used anywhere.
Support the special '_any' value for the ID field in the extension to
opt-out of ID and VERSION_ID/SYSEXT_LEVEL matching.

See https://github.com/systemd/systemd/issues/24061
man/systemd-sysext.xml
src/shared/extension-release.c
test/test-functions
test/units/testsuite-50.sh