Debootstrap triggers some weird corner case in our base grep(1),
where it's two orders of magnitude slower than it should be.
Fix it by providing it with GNU grep. This reduces the time
to complete 'debootstrap bionic' from ~4m30s to ~1m30s.
Reviewed By: emaste (earlier version)
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D30023
more changes in my queue and waiting for maintainer timeout each
time slows things down.
Approved by: maintainer timeout
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26553
ignore --configure errors
For some reason, when run with stock sh(1) the script aborts just
after 'Unpacking the base system'.
The fdescfs mount fixes 'dpkg --configure' for rsyslog. Note that
there are also some kernel patches required to make it work completely.
The fdescfs is not enough to fix everything, though, so just ignore
'dpkg --configure' errors for Bionic; they don't break anything important.
PR: ports/247698
Reviewed by: 0mp (earlier version)
Approved by: maintainer timeout (2 weeks)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D25594
debootstrap (1.0.89) unstable; urgency=medium
[ Simon McVittie ]
* Instead of creating a /dev/ptmx → pts/ptmx symlink unconditionally,
try mknod with “c 5 2” parameters first, and fall back to a symlink
only if it fails. This should help with various tools like pbuilder,
sbuild, and schroot (Closes: #817236).
* Add autopkgtest support to test various scenarios.
[ Cyril Brulebois ]
* Uniformize COMPONENTS/USE_COMPONENTS handling.
-- Cyril Brulebois <kibi@debian.org> Fri, 10 Mar 2017 13:10:56 +0100
debootstrap (1.0.86) unstable; urgency=high
* Rework split_inline_sig by using shell built-ins instead of trying to
mix sed and tr together, which might work on regular systems but not
from inside the Debian Installer (Closes: #842591). Thanks to Ansgar
Burchardt for the proof of concept!
-- Cyril Brulebois <kibi@debian.org> Sun, 30 Oct 2016 23:35:45 +0100
PR: 213950
Submitted by: lifanov@mail.lifanov.com (Maintainer)
- Add support for downloading and validating InRelease files, by splitting
up detached signature from signed data.
- Switch default mirror to deb.debian.org.
- Add (Ubuntu) zesty as a symlink to gutsy.
- Add jessie-kfreebsd to merged-/usr blacklist.
- No longer Build-Depend on makedev. The code using it was already
removed in debootstrap 1.0.82.
- Do not use `tar -k` for older releases which might have file
conflicts between the packages to be installed. (Closes: #838388)
- Error out when seeing short options. (Closes: #548880)
- Add oldoldstable -> sid script symlink. (Closes: #792734)
- Add buster -> sid and bullseye -> sid script symlinks.
- Only unpack and configure the base system when there are actually
packages to install. (Closes: #825034)
- debootstrap.8: Use stretch instead of wheezy in examples.
- Enable merged-/usr by default. (Closes: #839046)
PR: 213745
Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
debootstrap (1.0.79) unstable; urgency=medium
[ Samuel Thibault ]
* hurd: move setting up dev and servers firmlink to setup_proc stage. Also
firmlink proc there. Thanks Gabriele Giacone for all the investigation!
(Closes: #768102)
(Closes: #768102)
-- Christian Perrier <bubulle@debian.org> Fri, 19 Feb 2016 07:23:59 +0100
debootstrap (1.0.78+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* Split setup_devices in setup_devices (which now only deals with static
device nodes) and setup_dynamic_devices, and move the calls to
setup_devices from the beginning of the second stage to the end of the
first stage.
setup_dynamic_devices mounts the appropriate filesystems which provide
dynamic device nodes for the architectures which need one in
debootstrap (kfreebsd and hurd).
This fixes a bug in --second-stage introduced in 1.0.34 and exposed
by the devices-related changes of 1.0.76: the second stage debootstrap
runs "dpkg --print-architecture >/dev/null" at the very beginning of
the program when /dev is still empty, so it creates an empty regular
file in place of /dev/null and this will cause mknod to fail later.
(Closes: #813232)
-- Marco d'Itri <md@linux.it> Wed, 17 Feb 2016 01:23:23 +0100
PR: 207393
Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
debootstrap (1.0.78) unstable; urgency=high
* Use HTTPS for Vcs-* URLs, and link to cgit rather than gitweb.
* Don't call mknod with the --mode option, it's not supported in
busybox. Use -m instead - fixes the broken fix for #812811.
Closes: #813124. Urgency high to get this fix propagated quickly -
it's breaking d-i installs right now. Adding myself to uploaders and
uploading.
-- Steve McIntyre <93sam@debian.org> Fri, 29 Jan 2016 16:36:00 +0000
PR: 206821
Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
Changes:
- Fix the empty sources.list bug with foreign architectures (Closes: #732255, #773867).
Update setup_apt_sources to look at USE_COMPONENTS if COMPONENTS is empty, so
that some iteration over defined components happens.
- Use debian/changelog timestamp as mtime for devices.tar members (Closes: #774069)
We also remove the timestamp in gzip header. This enables debootstap to be
built reproducibly.
PR: ports/196764
Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)