]> git.ipfire.org Git - thirdparty/systemd.git/commit
portable: fix 'portablectl list' to show the actual state for extensions 31435/head
authorLuca Boccassi <bluca@debian.org>
Thu, 28 Mar 2024 14:16:39 +0000 (14:16 +0000)
committerLuca Boccassi <bluca@debian.org>
Thu, 28 Mar 2024 14:20:20 +0000 (14:20 +0000)
commit373a1e47b2878a278c130712ab2910139ccc18a2
tree2202c5d60352e9d0fee0a1f1e9fad7cf8abe2a9c
parent1cbb79276319923e6f2ebbbc6b5e127a14c16154
portable: fix 'portablectl list' to show the actual state for extensions

When listing images they are inspected one by one, so in case of a
portable with extensions they always resulted as not found.
Allow a partial match when listing, so that we can find the appropriate
unit that an image belongs to, and list the correct state as attached.
src/portable/portable.c
test/units/testsuite-29.sh