summaryrefslogtreecommitdiffstats
path: root/debootstrap (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Switch default mirror to deb.debian.org.Julien Cristau2016-10-201-2/+2
|
* Enable merged-/usr by default.Ansgar Burchardt2016-10-191-1/+1
| | | | Thanks to Marco d'Itri for the patch.
* Error out when seeing short optionsAnsgar Burchardt2016-10-181-1/+1
| | | | Bug: https://bugs.debian.org/548880
* Default to no merged-/usr.Ansgar Burchardt2016-09-131-1/+5
|
* Merged /usr support for debootstrapMarco d'Itri2016-09-081-0/+6
|
* Excise all devices.tar.gz codeAlex Bennée2016-09-061-3/+0
| | | | | | | Since bug #571136 was fixed the --second-stage doesn't even use the devices tarball so we can remove all its related cruft. The README has been updated to show when real root access is required and give an example of a foreign debootstrap which works with fakeroot.
* Stop cleaning KEEP_DEBOOTSTRAP_DIR twice, as spotted by Chris Lamb (Closes: ↵Cyril Brulebois2015-11-081-1/+0
| | | | #804415).
* Switch default mirror from ftp.us.debian.org to httpredir.debian.orgCyril Brulebois2015-05-151-1/+1
| | | | | The latter is now an official service, see announce: https://lists.debian.org/debian-devel-announce/2015/05/msg00003.html
* Detect incompatible options and abort accordingly.Cyril Brulebois2015-05-151-0/+6
|
* Add support for --force-check-gpg (Closes: #661501, #733179, #775454).Cyril Brulebois2015-05-151-0/+8
| | | | | With this option, one can programmatically make sure keyring checks are used and that no fallback to an https mirror happens.
* Move set -e out of shebang line. Closes: #762713Joey Hess2014-09-241-1/+2
|
* Avoid writing https urls into sources.list, as apt does not support https.Joey Hess2013-12-271-1/+1
| | | | When a https url is used, fall back to the default mirror for sources.list.
* default to https mirror for Debian when no gpg verification is availableJoey Hess2013-12-271-2/+4
| | | | | | | | | | | | | | | | | When deboostrapping Debian, and the debian-archive-keyring is not available, switch the default mirror to a https url. This way at least the CA level of security is available even for users who have no way to check gpg keys in the WoT. The https mirror is currently https://mirrors.kernel.org/debian. When the keyring is available, the default mirror remains non-https, for several reasons: a) to avoid overloading mirrors.kernel.org b) because http.us.debian.org lacks https support c) because mirrors.kernel.org is not currently in the http.us.debian.org rotation d) because mirrors.kernel.org lacks IPv6 support
* Clarify location of pkgdetails.c in error message (closes: #708771).Colin Watson2013-05-181-1/+1
|
* Remove double quotes to fix for loop on GNU/kFreeBSD, thanks to Oleg ↵Cyril Brulebois2012-11-201-1/+1
| | | | Ginzburg (Closes: #693718).
* Fix --print-debs support when using --foreign param. Closes: #551837.Otavio Salvador2011-11-191-1/+5
|
* warn about missing modules on FreeBSDJoey Hess2011-08-151-0/+6
| | | | | | | * Fix support for running debootstrap on a FreeBSD host to create a kFreeBSD chroot or jail. Thanks, Arno Toell. * When debootstrapping on FreeBSD, warn if necessary modules are not loaded. Thanks, Arno Toell.
* Support using md5 and shaN programs, as found on FreeBSD, in addition to ↵Joey Hess2011-08-151-1/+1
| | | | | | | | | md5sum and shaNsum. Based on the patch used for the FreeBSD port of debootstrap: http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/debootstrap/files/patch-functions?rev=1.3;content-type=text%2Fplain That entire patch should now be unnecessary.
* Search PATH for programs, rather than checking hardcoded locations.Joey Hess2011-08-151-6/+5
| | | | Generally a good idea, but specifically FreeBSD does not keep gunzip in /bin/
* typoJoey Hess2011-08-151-1/+1
| | | | too much haskell coding
* Clarify "target" in usage message.Joey Hess2011-08-151-2/+2
| | | | | Users complained that "target" is jargon and they have no mad man page reading skillz.
* Fix support for running debootstrap on a FreeBSD host to create a kFreeBSD ↵Joey Hess2011-08-151-0/+3
| | | | | | | | | | | | chroot or jail. This worked in squeeze, as documented here: http://blog.vx.sk/archives/22-Updated-Tutorial-Debian-GNUkFreeBSD-in-a-FreeBSD-jail.html But recent changes to differentiate between the host and target ARCH/OS broke it. All that's needed to get it back is to detect FreeBSD's uname output. Untested.
* Guess host OS based on uname for non-Debian systems. Closes: #637363Joey Hess2011-08-151-2/+21
| | | | | | | | | | Deboostrap only cares if the host OS is Linux, Hurd, or kFreeBSD. The actual architecture used on the host doesn't matter, as long as the target arch can run in the chroot. This does not address running debootstrap on a FreeBSD system in order to build a kFreeBSD chroot. That seems to have already been not working, since debootstrap checked for kfreebsd, and not freebsd.
* simplify slightlyColin Watson2011-08-101-3/+1
|
* Don't use --arch when we specifically care about the host architecture ↵Colin Watson2011-08-101-6/+11
| | | | (closes: #637298).
* Copy devices.tar.gz in case we're running first_stage onlyOtavio Salvador2011-07-281-0/+1
|
* Mention minbase variant in --help. Closes: #632418Joey Hess2011-07-021-1/+1
|
* Removed the --boot-floppies switch and mode.Joey Hess2011-04-081-24/+0
| | | | Assuming this has not been used in 10 years.
* Clear all global variables used for options, so that unclean environment ↵Joey Hess2011-04-081-9/+25
| | | | | | | | | doesn't break debootstrap. Closes: #621657 With the notable exception of SHA_SIZE, which is used to communicate with debootstrap. Also, upper-cased a few global variables.
* check keyrings by default, when possibleJoey Hess2011-03-251-0/+6
| | | | | | | | | | * Recommend debian-archive-keyring, and if it is installed, default to checking gpg signatures of the Release file against it when bootstrapping sid, squeeze, wheezy, etch, and lenny. Closes: #560038 * Add --no-check-gpg option that can be used to disable release file verification. * Needs base-installer 1.117.
* sha checksum supportJoey Hess2011-02-221-1/+10
|
* Remove 5 second sleeps when debootstrap finds additional required ↵Joey Hess2011-02-211-3/+0
| | | | dependencies. d-i just got that much faster.
* fix to --private-key. Thanks to Jonathan KleeMiguel Figueiredo2011-01-041-2/+2
| | | | r66195
* Patch by Karl Goetz. Closes: #601821Christian Perrier2010-10-301-1/+1
| | | | | | | * Fix a typo in the debootstrap script Patch by Karl Goetz. Closes: #601822 r65225
* Remove debug statement that slipped in.Joey Hess2010-09-201-1/+0
| | | | r64821
* support for https on debootstrapMiguel Figueiredo2010-09-101-1/+31
| | | | r64676
* * Refactor deb extractors into two new functions.Otavio Salvador2009-11-271-0/+22
| | | | | | | * Use dpkg-deb if available instead of ar (closes: #557296). * Add an --extractor option to override the automatic extractor selection. r61537
* Apply patch from Riku Voipio <riku.voipio@iki.fi> to add support for ↵Otavio Salvador2009-07-221-2/+19
| | | | | | scratchbox variant. Closes: #536820. r59598
* Apply patch from Felix Zielcke <fzielcke@z-51.de> to use "dpkgOtavio Salvador2009-06-031-2/+2
| | | | | | --print-architecture" to avoid deprecation warning. Closes: #531680. r58720
* Apply patch from Luca Favatella <slackydeb@gmail.com> to improve coding style.Otavio Salvador2009-03-241-4/+4
| | | | r57962
* Export PATH, just to make sure. It isn't necessarily exported by shellsColin Watson2009-03-171-0/+3
| | | | | | | | running from init=/bin/sh or similar, and the upstream bash maintainer is unwilling to export it by default; it's easy enough to do so here (LP: #320188). r57849
* Remove partial support for emitting translated progress messages withColin Watson2009-03-171-6/+0
| | | | | | | | | | | | gettext. Don't panic; d-i still has all the support necessary for this. debootstrap's own support for doing this outside d-i with gettext's shell bindings has been completely broken ever since it was added in 2003, though, and nobody has complained. Fixing it would require a big pile of infrastructure and some non-trivial patches, plus arranging to copy all the translations over from base-installer, and it just doesn't seem worth it, so lose the cruft (LP: #188690). r57848
* Fix --unpack-tarball= option (thanks, Torsten Landschoff; closes:Colin Watson2009-01-131-5/+8
| | | | | | #500759). r57243
* Fix --make-tarball= option (closes: #484869).Colin Watson2009-01-131-2/+2
| | | | r57239
* Error out on unrecognized optionsFrans Pop2008-01-191-0/+3
| | | | | | | | | Currently debootstrap just breaks out of the loop on an unrecognized option which means that that option and anything following it will be taken as arguments leading to weird failures later. Better to error out instead. r50953
* * Use ftp.us.debian.org rather than ftp.debian.orgColin Watson2008-01-151-1/+1
| | | | | | (http://lists.debian.org/debian-devel-announce/2007/12/msg00002.html). r50880
* * Make --second-stage not bother recalculating required and base asAnthony Towns2007-12-191-36/+75
| | | | | | | | * Make --arch and other arguments accept both "--arch i386" and "--arch=i386" forms of specifying a parameter to avoid the inconsistency. r50523
* * Add minbase variant for the sid script that only install apt (andAnthony Towns2007-12-071-1/+1
| | | | | | | | | its dependencies) instead of all of base. (Closes: Bug#351912, Bug#452654) * Make --second-stage not bother recalculating required and base when it's not needed. r50373
* * Change /usr/lib/debootstrap to /usr/share/debootstrap for both debootstrap ↵Frans Pop2007-11-141-1/+1
| | | | | | | | | | | | | and base-installer as befits an Architecture: all package * Fix various inconsistencies and minor errors in build scripts: - let debhelper create needed directories and don't duplicate that in the Makefile - let debhelper install the manpage, which automatically keeps it out of the udeb * Fix dpkg-genchanges warning 'missing Priority for source files' * Update Standards-Version to 3.7.2. No changes needed r50134
* Also try 'udpkg --print-architecture' in debootstrap when determining the ↵Frans Pop2007-11-131-0/+3
| | | | | | target architecture, which means we don't need to pass it from bootstrap-base r50117