diff options
-rw-r--r-- | lib/sbuild/chroot/facet/storage.cc | 7 | ||||
-rw-r--r-- | lib/sbuild/chroot/facet/storage.h | 17 |
2 files changed, 24 insertions, 0 deletions
diff --git a/lib/sbuild/chroot/facet/storage.cc b/lib/sbuild/chroot/facet/storage.cc index 2ad6e4f1..a54167e7 100644 --- a/lib/sbuild/chroot/facet/storage.cc +++ b/lib/sbuild/chroot/facet/storage.cc @@ -38,6 +38,13 @@ namespace sbuild { } + void + storage::setup_lock(chroot::setup_type type, + bool lock, + int status) + { + } + } } } diff --git a/lib/sbuild/chroot/facet/storage.h b/lib/sbuild/chroot/facet/storage.h index ddcc166f..df70b33c 100644 --- a/lib/sbuild/chroot/facet/storage.h +++ b/lib/sbuild/chroot/facet/storage.h @@ -54,6 +54,23 @@ namespace sbuild public: /// The destructor. virtual ~storage (); + + /** + * Get the path to the chroot. This is the absolute path to the + * root of the chroot, and is typically the same as the mount + * location and location concatenated together, but is overridden + * by the chroot type if required. + * + * @returns the path. + */ + virtual std::string + get_path () const = 0; + + virtual void + setup_lock(chroot::setup_type type, + bool lock, + int status); + }; } |