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;
26 void completeInstall()
override;
31 boost::filesystem::path sysrootPath_;
32 std::shared_ptr<KeyManager> keyMngr_;
33 std::shared_ptr<OstreeManager> ostreePackMan_;
34 const ::std::string targetname_prefix_;
37 #endif // AKTUALIZR_SECONDARY_UPDATE_AGENT_OSTREE_H