mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-17 20:01:30 +00:00
Add a large warning at the top of mk-sbuild encouraging the use of the unshare backend. This is to provide ample warning to users.
This commit is contained in:
parent
50b580b30e
commit
86b366c6c5
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -6,6 +6,8 @@ ubuntu-dev-tools (0.204) UNRELEASED; urgency=medium
|
|||||||
* Add my name to the copyright file.
|
* Add my name to the copyright file.
|
||||||
* Rename bitesize to lp-bitesize (Closes: #1076224).
|
* Rename bitesize to lp-bitesize (Closes: #1076224).
|
||||||
* Add a manpage for running-autopkgtests.
|
* Add a manpage for running-autopkgtests.
|
||||||
|
* Add a large warning at the top of mk-sbuild encouraging the use of the
|
||||||
|
unshare backend. This is to provide ample warning to users.
|
||||||
|
|
||||||
[ Julien Plissonneau Duquène ]
|
[ Julien Plissonneau Duquène ]
|
||||||
* Fix reverse-depends -b crash on packages that b-d on themselves
|
* Fix reverse-depends -b crash on packages that b-d on themselves
|
||||||
|
19
mk-sbuild
19
mk-sbuild
@ -303,6 +303,25 @@ if [ ! -w /var/lib/sbuild ]; then
|
|||||||
# Prepare a usable default .sbuildrc
|
# Prepare a usable default .sbuildrc
|
||||||
if [ ! -e ~/.sbuildrc ]; then
|
if [ ! -e ~/.sbuildrc ]; then
|
||||||
cat > ~/.sbuildrc <<EOM
|
cat > ~/.sbuildrc <<EOM
|
||||||
|
# *** THIS COMMAND IS DEPRECATED ***
|
||||||
|
#
|
||||||
|
# In sbuild 0.87.0 and later, the unshare backend is available. This is
|
||||||
|
# expected to become the default in a future release.
|
||||||
|
#
|
||||||
|
# This is the new preferred way of building Debian packages, making the manual
|
||||||
|
# creation of schroots no longer necessary. To retain the default behavior,
|
||||||
|
# you may remove this comment block and continue.
|
||||||
|
#
|
||||||
|
# To test the unshare backend while retaining the default settings, run sbuild
|
||||||
|
# with --chroot-mode=unshare like this:
|
||||||
|
# $ sbuild --chroot-mode=unshare --dist=unstable hello
|
||||||
|
#
|
||||||
|
# To switch to the unshare backend by default (recommended), uncomment the
|
||||||
|
# following lines and delete the rest of the file (with the exception of the
|
||||||
|
# last two lines):
|
||||||
|
#\$chroot_mode = 'unshare';
|
||||||
|
#\$unshare_mmdebstrap_keep_tarball = 1;
|
||||||
|
|
||||||
# *** VERIFY AND UPDATE \$mailto and \$maintainer_name BELOW ***
|
# *** VERIFY AND UPDATE \$mailto and \$maintainer_name BELOW ***
|
||||||
|
|
||||||
# Mail address where logs are sent to (mandatory, no default!)
|
# Mail address where logs are sent to (mandatory, no default!)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user