#include <manifest_parser/utils/logging.h>
+#include <filesystem>
+
#include "common/installer_context.h"
+#include "common/mount_base.h"
#include "common/step/step.h"
namespace common_installer {
* * TZ_SYS_RW/$PKGID (/usr/apps/$PKGID)
* * TZ_SER_APPS/$PKGID (/{HOME}/apps_rw/$PKGID)
*/
-class StepMountInstall : public Step {
+class StepMountInstall : public MountBase, public Step {
public:
using Step::Step;
+ using MountBase::MountBase;
Status process() override;
- Status clean() override;
+ Status clean() override { return Status::OK; }
Status undo() override;
Status precheck() override;
- SCOPE_LOG_TAG(MountInstall)
+ protected:
+ std::unique_ptr<IZipInterface> CreateZipInterface(
+ const std::filesystem::path& mount_path) override;
+ Status UmountPackagePath();
+
+ STEP_NAME(MountInstall);
};
} // namespace mount