aboutsummaryrefslogtreecommitdiff
path: root/paludis/fs_merger.hh
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-02-22 19:58:18 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-03-11 22:35:15 -0700
commit0e6261448e1613a45e4a3e79f7d9cf158e71df2d (patch)
tree2fbdab0aa9e6cd46db7d75504c797bbd9eb6e94e /paludis/fs_merger.hh
parentb62787ab8a2f2c1f7dc8793c8451ee7f7e932ca3 (diff)
downloadpaludis-0e6261448e1613a45e4a3e79f7d9cf158e71df2d.tar.gz
paludis-0e6261448e1613a45e4a3e79f7d9cf158e71df2d.tar.xz
allow partitioning image
This adds a new function `expart' which allows partitioning the image into separate parts. This information is then provided to the merge to record. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Diffstat (limited to 'paludis/fs_merger.hh')
-rw-r--r--paludis/fs_merger.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/fs_merger.hh b/paludis/fs_merger.hh
index 9843528c0..008417181 100644
--- a/paludis/fs_merger.hh
+++ b/paludis/fs_merger.hh
@@ -29,6 +29,7 @@
#include <paludis/merger.hh>
#include <paludis/environment-fwd.hh>
#include <paludis/hook-fwd.hh>
+#include <paludis/partitioning-fwd.hh>
#include <iosfwd>
#include <sys/stat.h>
#include <sys/types.h>
@@ -58,6 +59,7 @@ namespace paludis
typedef Name<struct name_merged_entries> merged_entries;
typedef Name<struct name_no_chown> no_chown;
typedef Name<struct name_options> options;
+ typedef Name<struct name_parts> parts;
typedef Name<struct name_permit_destination> permit_destination;
typedef Name<struct name_root> root;
}
@@ -106,6 +108,8 @@ namespace paludis
NamedValue<n::no_chown, bool> no_chown;
NamedValue<n::options, MergerOptions> options;
+ NamedValue<n::parts, std::shared_ptr<const Partitioning> > parts;
+
///\since 0.66
NamedValue<n::permit_destination, PermitDestinationFn> permit_destination;