]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdate: Add ListFeatures() and ListTargets() varlink methods (#42900)
authorLennart Poettering <lennart@amutable.com>
Tue, 14 Jul 2026 21:14:22 +0000 (23:14 +0200)
committerGitHub <noreply@github.com>
Tue, 14 Jul 2026 21:14:22 +0000 (23:14 +0200)
commit64a3846ced8f363a2d27541157166e4e22e73a15
tree66025d92430853d49f917f56ae3f14df8d8fb15b
parent2dcdbae4dde4d7983496a6858e5d35a8053b2112
parent75a247d4de5a16ec950eea9f9bc805386386bf13
sysupdate: Add ListFeatures() and ListTargets() varlink methods (#42900)

Following on from adding the basic varlink scaffolding to sysupdate,
let’s varlinkify a couple of the D-Bus methods. Because varlink doesn’t
have a concept of object paths, the D-Bus path structure which allows a
target to be selected has been squashed down to a target argument for
each relevant method.

Varlinkify the way to list targets, and also the way to list features
because that was simple to do at the same time.

More methods need varlinkifying in the future, but let’s do it in small
and manageable chunks.