From 0017415cc5f2b97e0f9812cb10984c364d4e03bc Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 24 Jan 2022 17:42:32 +0000 Subject: portable: add GetImageStateWithExtensions method Allow to correctly query a layered portable service for attached/detached state. --- man/org.freedesktop.portable1.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'man/org.freedesktop.portable1.xml') diff --git a/man/org.freedesktop.portable1.xml b/man/org.freedesktop.portable1.xml index 53c960206e..a63b6aeebe 100644 --- a/man/org.freedesktop.portable1.xml +++ b/man/org.freedesktop.portable1.xml @@ -57,6 +57,10 @@ node /org/freedesktop/portable1 { out a{say} units); GetImageState(in s image, out s state); + GetImageStateWithExtensions(in s image, + in as extensions, + in t flags, + out s state); AttachImage(in s image, in as matches, in s profile, @@ -132,6 +136,8 @@ node /org/freedesktop/portable1 { + + @@ -207,6 +213,12 @@ node /org/freedesktop/portable1 { running-runtime + GetImageStateWithExtensions() is a superset of + GetImageState(), with additional support for a list of extensions + as input parameters, which is necessary to query the state in case the image was attached + in that particular way. The flag parameter is currently unused and + reserved for future purposes. + AttachImage() attaches a portable image to the system. This method takes an image path or name, a list of strings that will be used to search for unit files inside the image (partial or complete matches), a string indicating which @@ -334,6 +346,9 @@ node /org/freedesktop/portable1 { out ay os_release, out a{say} units); GetState(out s state); + GetStateWithExtensions(in as extensions, + in t flags, + out s state); Attach(in as matches, in s profile, in b runtime, @@ -402,6 +417,8 @@ node /org/freedesktop/portable1 { + + @@ -434,6 +451,8 @@ node /org/freedesktop/portable1 { + + -- cgit v1.2.1