summaryrefslogtreecommitdiff
path: root/lib/sbuild/chroot/facet/directory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sbuild/chroot/facet/directory.cc')
-rw-r--r--lib/sbuild/chroot/facet/directory.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/sbuild/chroot/facet/directory.cc b/lib/sbuild/chroot/facet/directory.cc
index 40597919..461c9edb 100644
--- a/lib/sbuild/chroot/facet/directory.cc
+++ b/lib/sbuild/chroot/facet/directory.cc
@@ -19,6 +19,7 @@
#include <config.h>
#include <sbuild/chroot/facet/directory.h>
+#include <sbuild/chroot/facet/factory.h>
#include <sbuild/chroot/facet/fsunion.h>
#include <sbuild/chroot/facet/session.h>
#include "format-detail.h"
@@ -40,6 +41,20 @@ namespace sbuild
namespace facet
{
+ namespace
+ {
+
+ factory::facet_info directory_info =
+ {
+ "directory",
+ N_("Support for ‘directory’ chroots"),
+ []() -> facet::ptr { return directory::create(); }
+ };
+
+ factory directory_register(directory_info);
+
+ }
+
directory::directory ():
directory_base()
{