summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEvan Broder <evan@ebroder.net>2012-01-23 09:47:35 +0000
committerRoger Leigh <rleigh@debian.org>2012-01-23 09:48:08 +0000
commit6c71d1aecec99018ca4b14c0d4dd2e5b5b361d98 (patch)
tree10dc563cec796e89bcb8d821d4b7bcd01d4cd62e /etc
parent3e3dcf6ec42267741f88ac4a555fcb924c6fe8e5 (diff)
downloadschroot-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-xetc/setup.d/10mount3
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