diff options
author | Evan Broder <evan@ebroder.net> | 2012-01-23 09:47:35 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2012-01-23 09:48:08 +0000 |
commit | 6c71d1aecec99018ca4b14c0d4dd2e5b5b361d98 (patch) | |
tree | 10dc563cec796e89bcb8d821d4b7bcd01d4cd62e /etc | |
parent | 3e3dcf6ec42267741f88ac4a555fcb924c6fe8e5 (diff) | |
download | schroot-6c71d1aecec99018ca4b14c0d4dd2e5b5b361d98.tar.gz |
sbuild::chroot_facet_union: Add support for overlayfs
Signed-off-by: Roger Leigh <rleigh@debian.org>
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/setup.d/10mount | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/setup.d/10mount b/etc/setup.d/10mount index 29636d11..cfd7f6c3 100755 --- a/etc/setup.d/10mount +++ b/etc/setup.d/10mount @@ -92,6 +92,9 @@ do_mount_fs_union() aufs) CHROOT_UNION_MOUNT_OPTIONS="br:${CHROOT_UNION_OVERLAY_DIRECTORY}:${CHROOT_UNION_UNDERLAY_DIRECTORY}=ro" ;; + overlayfs) + CHROOT_UNION_MOUNT_OPTIONS="lowerdir=${CHROOT_UNION_UNDERLAY_DIRECTORY},upperdir=${CHROOT_UNION_OVERLAY_DIRECTORY}" + ;; esac fi |