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 const boost::filesystem::path& _sysrootPath;
27 std::shared_ptr<KeyManager> _keyMngr;
28 std::shared_ptr<OstreeManager> _ostreePackMan;
29 const ::std::string _targetname_prefix;
32 #endif // AKTUALIZR_SECONDARY_UPDATE_AGENT_OSTREE_H