]> git.ipfire.org Git - thirdparty/systemd.git/commit
portable: add flag to return extension-releases in GetImageMetadataWithExtensions
authorLuca Boccassi <luca.boccassi@microsoft.com>
Tue, 25 Jan 2022 15:49:22 +0000 (15:49 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 25 Jan 2022 22:22:47 +0000 (22:22 +0000)
commite3f7ed944ae750a40685c52349f3cc850db0876e
tree7c28734e38f32c41e3210286099ecc6c94fcbdce
parent0017415cc5f2b97e0f9812cb10984c364d4e03bc
portable: add flag to return extension-releases in GetImageMetadataWithExtensions

Return the name of each extension and the associated extension-release
file, and pretty-print them in 'portablectl inspect', if a new flag
is passed.

$ portablectl inspect --extension app2 --extension app0  minimal app0 app1
(Matching unit files with prefixes 'app0', 'app1'.)
Image:
        /run/portables/minimal.raw
Portable Service:
        n/a
Operating System:
        Debian GNU/Linux 10 (buster)
Extension:
        /run/portables/app2.raw
        Extension Scope:
                n/a
        Extension Compatibility Level:
                n/a
        Portable Service:
                n/a
        Portable Prefixes:
                n/a
        Operating System:
                n/a (debian 10)
Extension:
        /run/portables/app0.raw
        Extension Scope:
                n/a
        Extension Compatibility Level:
                n/a
        Portable Service:
                n/a
        Portable Prefixes:
                n/a
        Operating System:
                n/a (debian 10)
Unit files:
        app0.service
man/org.freedesktop.portable1.xml
src/portable/portable.c
src/portable/portable.h
src/portable/portablectl.c
src/portable/portabled-image-bus.c
test/units/testsuite-29.sh