system: RAUC operation and last error properties
This patch implements getting the current operation and last error from
the RAUC via its D-Bus interface [1].
We need to access those properties in order to provide the data about
installation process in the czechlight-system model.
[1] https://rauc.readthedocs.io/en/v1.4/reference.html#properties
Change-Id: Ie1daf89e11be2d72e1ef5a0c9e80a316ed09ab41
diff --git a/src/system/RAUC.h b/src/system/RAUC.h
index 8a78298..45eba7c 100644
--- a/src/system/RAUC.h
+++ b/src/system/RAUC.h
@@ -23,6 +23,8 @@
std::string primarySlot() const;
std::map<std::string, SlotProperties> slotStatus() const;
void install(const std::string& source);
+ std::string operation() const;
+ std::string lastError() const;
private:
std::shared_ptr<sdbus::IProxy> m_dbusObjectProxy;