31c33315b3
If portablectl detach --now is used, there's a possible race condition where the unit is not stopped in time before the detach is attempted, which causes it to fail. Add a DBUS call to block after starting/stopping if --now is passed, and add a --no-block parameter to skip it optionally when starting, since it is not necessary in that case for correct functioning. |
||
---|---|---|
.. | ||
profile | ||
meson.build | ||
org.freedesktop.portable1.conf | ||
org.freedesktop.portable1.policy | ||
org.freedesktop.portable1.service | ||
portable.c | ||
portable.h | ||
portablectl.c | ||
portabled-bus.c | ||
portabled-bus.h | ||
portabled-image-bus.c | ||
portabled-image-bus.h | ||
portabled-image.c | ||
portabled-image.h | ||
portabled-operation.c | ||
portabled-operation.h | ||
portabled.c | ||
portabled.h |