mk-sbuild,doc/mk-sbuild.1: switch from aufs to overlayfs, as aufs is no

longer in the Precise kernel.
This commit is contained in:
Marc Deslauriers 2011-11-15 16:08:24 -05:00
parent 35b742c1e8
commit 08afc2a0a9
3 changed files with 6 additions and 5 deletions

5
debian/changelog vendored
View File

@ -1,8 +1,9 @@
ubuntu-dev-tools (0.136) UNRELEASED; urgency=low
*
* mk-sbuild,doc/mk-sbuild.1: switch from aufs to overlayfs, as aufs is no
longer in the Precise kernel.
-- Stefano Rivera <stefanor@debian.org> Tue, 15 Nov 2011 02:01:22 +0200
-- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 15 Nov 2011 16:01:32 -0500
ubuntu-dev-tools (0.135) unstable; urgency=low

View File

@ -54,7 +54,7 @@ Currently known distros: "\fBdebian\fR" and "\fBubuntu\fR".
.TP
.B \-\-vg\fR=\fIVOLUME_GROUP
Specify a volume group, and subsequently use a default \fBSCHROOT_TYPE\fR of
"\fBlvm-snapshot\fR" rather than "\fBdirectory\fR" (via aufs) mounts.
"\fBlvm-snapshot\fR" rather than "\fBdirectory\fR" (via overlayfs) mounts.
.TP
.B \-\-type\fR=\fISHROOT_TYPE
Specify a \fBSCHROOT_TYPE\fR. Supported values are "\fBdirectory\fR"

View File

@ -24,7 +24,7 @@
# ##################################################################
#
# This script creates chroots designed to be used in a snapshot mode
# (either with LVM or aufs) with schroot and sbuild.
# (either with LVM or overlayfs) with schroot and sbuild.
# Much love to "man sbuild-setup", https://wiki.ubuntu.com/PbuilderHowto,
# and https://help.ubuntu.com/community/SbuildLVMHowto.
#
@ -619,7 +619,7 @@ EOM
;;
directory|file)
cat >> "${TEMP_SCHROOTCONF}" <<EOM
union-type=aufs
union-type=overlayfs
${SCHROOT_TYPE}=CHROOT_PATH
EOM
;;