1 #ifndef AKTUALIZR_SECONDARY_UPDATE_AGENT_OSTREE_H
2 #define AKTUALIZR_SECONDARY_UPDATE_AGENT_OSTREE_H
4 #include "update_agent.h"
11 OstreeUpdateAgent(
const boost::filesystem::path& sysroot_path, std::shared_ptr<KeyManager>& key_mngr,
12 std::shared_ptr<OstreeManager>& ostree_pack_man, std::string targetname_prefix)
13 : sysrootPath_(sysroot_path),
15 ostreePackMan_(ostree_pack_man),
16 targetname_prefix_(std::move(targetname_prefix)) {}
19 bool isTargetSupported(
const Uptane::Target& target)
const override;
23 void completeInstall()
override;
27 const boost::filesystem::path& sysrootPath_;
28 std::shared_ptr<KeyManager> keyMngr_;
29 std::shared_ptr<OstreeManager> ostreePackMan_;
30 const ::std::string targetname_prefix_;
33 #endif // AKTUALIZR_SECONDARY_UPDATE_AGENT_OSTREE_H