19 #ifndef SBUILD_CHROOT_FACET_MOUNTABLE_H 20 #define SBUILD_CHROOT_FACET_MOUNTABLE_H 22 #include <sbuild/sbuild-chroot-facet.h> 42 typedef std::shared_ptr<chroot_facet_mountable>
ptr;
45 typedef std::shared_ptr<const chroot_facet_mountable>
const_ptr;
66 virtual std::string
const&
74 virtual std::string
const&
90 virtual std::string
const&
107 virtual std::string
const&
std::shared_ptr< const chroot_facet_mountable > const_ptr
A shared_ptr to a const chroot facet object.
Definition: sbuild-chroot-facet-mountable.h:45
virtual ~chroot_facet_mountable()
The destructor.
Definition: sbuild-chroot-facet-mountable.cc:41
std::string location
Location inside the mount location root.
Definition: sbuild-chroot-facet-mountable.h:145
virtual std::string const & get_mount_options() const
Get the filesystem mount options of the chroot block device.
Definition: sbuild-chroot-facet-mountable.cc:78
Debian source builder components.
Definition: sbuild-auth-null.h:24
chroot_facet_mountable()
The constructor.
Definition: sbuild-chroot-facet-mountable.cc:33
virtual void set_mount_options(std::string const &mount_options)
Set the filesystem mount options of the chroot block device.
Definition: sbuild-chroot-facet-mountable.cc:84
std::string mount_options
The options to mount the device with.
Definition: sbuild-chroot-facet-mountable.h:143
virtual chroot_facet::ptr clone() const
Copy the chroot facet.
Definition: sbuild-chroot-facet-mountable.cc:52
virtual void set_keyfile(chroot &chroot, keyfile const &keyfile, string_list &used_keys)
Set the chroot properties from a keyfile.
Definition: sbuild-chroot-facet-mountable.cc:152
virtual std::string const & get_location() const
Get the location.
Definition: sbuild-chroot-facet-mountable.cc:90
Container of environment variables.
Definition: sbuild-environment.h:38
Configuration file parser.
Definition: sbuild-basic-keyfile.h:138
Chroot support for mountable devices and filesystems.
Definition: sbuild-chroot-facet-mountable.h:38
virtual chroot::session_flags get_session_flags(chroot const &chroot) const
Get the session flags of the chroot.
Definition: sbuild-chroot-facet-mountable.cc:114
virtual void set_mount_device(std::string const &mount_device)
Set the device path of the chroot block device to mount.
Definition: sbuild-chroot-facet-mountable.cc:72
std::vector< std::string > string_list
A string vector.
Definition: sbuild-types.h:38
static ptr create()
Create a chroot facet.
Definition: sbuild-chroot-facet-mountable.cc:46
virtual void get_details(chroot const &chroot, format_detail &detail) const
Get detailed information about the chroot for output.
Definition: sbuild-chroot-facet-mountable.cc:120
virtual void set_location(std::string const &location)
Set the location.
Definition: sbuild-chroot-facet-mountable.cc:96
session_flags
Chroot session properties.
Definition: sbuild-chroot.h:57
std::shared_ptr< chroot_facet > ptr
A shared_ptr to a chroot facet object.
Definition: sbuild-chroot-facet.h:44
virtual void setup_env(chroot const &chroot, environment &env) const
Set environment.
Definition: sbuild-chroot-facet-mountable.cc:105
std::string mount_device
The device to mount.
Definition: sbuild-chroot-facet-mountable.h:141
std::shared_ptr< chroot_facet_mountable > ptr
A shared_ptr to a chroot facet object.
Definition: sbuild-chroot-facet-mountable.h:42
Common chroot data.
Definition: sbuild-chroot.h:45
virtual std::string const & get_name() const
Get the name of the chroot facet.
Definition: sbuild-chroot-facet-mountable.cc:58
virtual void get_keyfile(chroot const &chroot, keyfile &keyfile) const
Copy the chroot properties into a keyfile.
Definition: sbuild-chroot-facet-mountable.cc:132
virtual std::string const & get_mount_device() const
Get the device path of the chroot block device to mount.
Definition: sbuild-chroot-facet-mountable.cc:66
Common chroot data.
Definition: sbuild-chroot-facet.h:40