sbuild
1.7.1
|
Common chroot data. More...
#include <source-setup.h>
Public Types | |
typedef std::shared_ptr < source_setup > | ptr |
A shared_ptr to a chroot source_setup object. | |
typedef std::shared_ptr< const source_setup > | const_ptr |
A shared_ptr to a const chroot source_setup object. | |
Public Member Functions | |
virtual | ~source_setup () |
The destructor. | |
virtual void | chroot_source_setup (const chroot &parent)=0 |
Set up a newly-cloned source chroot. More... | |
Protected Member Functions | |
source_setup () | |
The constructor. | |
Common chroot data.
This class contains all of the metadata associated with a single chroot, for all chroot types. This is the in-core representation of a chroot definition in the configuration file, and may be initialised directly from an open keyfile.
|
pure virtual |
Set up a newly-cloned source chroot.
parent | the parent of the cloned chroot. |
Implemented in sbuild::chroot::facet::fsunion, sbuild::chroot::facet::btrfs_snapshot, sbuild::chroot::facet::file, and sbuild::chroot::facet::lvm_snapshot.
Referenced by sbuild::chroot::facet::source_clonable::clone_source().