mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
Add support for 'overlay' in favor of older 'overlayfs'.
This commit is contained in:
parent
edb49c652c
commit
96d698e429
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,8 +1,12 @@
|
||||
ubuntu-dev-tools (0.162) UNRELEASED; urgency=medium
|
||||
|
||||
[ Mattia Rizzolo ]
|
||||
* Team upload.
|
||||
* Fix test failures with newer flake8 and pylint. Closes: #891721
|
||||
|
||||
[ Dimitri John Ledkov ]
|
||||
* Add support for 'overlay' in favor of older 'overlayfs'.
|
||||
|
||||
-- Mattia Rizzolo <mattia@debian.org> Thu, 08 Mar 2018 12:35:24 +0100
|
||||
|
||||
ubuntu-dev-tools (0.161) unstable; urgency=medium
|
||||
|
@ -26,7 +26,7 @@
|
||||
# ##################################################################
|
||||
#
|
||||
# This script creates chroots designed to be used in a snapshot mode
|
||||
# (with LVM, btrfs, overlayfs, or aufs) with schroot and sbuild.
|
||||
# (with LVM, btrfs, overlay, or aufs) with schroot and sbuild.
|
||||
# Much love to "man sbuild-setup", https://wiki.ubuntu.com/PbuilderHowto,
|
||||
# and https://help.ubuntu.com/community/SbuildLVMHowto.
|
||||
#
|
||||
@ -626,9 +626,11 @@ case "$SCHROOT_TYPE" in
|
||||
MNT=`mktemp -d -t schroot-XXXXXX`
|
||||
esac
|
||||
|
||||
# Debian doesn't have overlayfs yet
|
||||
case "$SCHROOT_TYPE" in
|
||||
directory|file)
|
||||
if grep -q '\soverlay$' /proc/filesystems \
|
||||
|| /sbin/modprobe -q --dry-run overlay; then
|
||||
OVERLAY_FS=overlay
|
||||
if grep -q '\soverlayfs$' /proc/filesystems \
|
||||
|| /sbin/modprobe -q --dry-run overlayfs; then
|
||||
OVERLAY_FS=overlayfs
|
||||
|
Loading…
x
Reference in New Issue
Block a user