summaryrefslogtreecommitdiffstats
path: root/debootstrap (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-07-24Use in_path to handle --extractor tooColin Watson1-1/+1
2016-11-14remove scratchbox2 support (closes: #796189)Riku Voipio1-11/+1
2016-11-13Default to split /usr again, as merged-/usr breaks dpkg-shlibdeps (closes: ↵Julien Cristau1-2/+2
#844221).
2016-10-20Switch default mirror to deb.debian.org.Julien Cristau1-2/+2
2016-10-19Enable merged-/usr by default.Ansgar Burchardt1-1/+1
Thanks to Marco d'Itri for the patch.
2016-10-19Revert "Switch default mirror to deb.debian.org."Julien Cristau1-2/+2
Pushed by mistake. This reverts commit fc9b919df580daf1183649bf197cb2c06a41e95b.
2016-10-18Switch default mirror to deb.debian.org.Julien Cristau1-2/+2
2016-10-18Error out when seeing short optionsAnsgar Burchardt1-1/+1
Bug: https://bugs.debian.org/548880
2016-09-13Default to no merged-/usr.Ansgar Burchardt1-1/+5
2016-09-08Merged /usr support for debootstrapMarco d'Itri1-0/+6
2016-09-06Excise all devices.tar.gz codeAlex Bennée1-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.
2015-11-08Stop cleaning KEEP_DEBOOTSTRAP_DIR twice, as spotted by Chris Lamb (Closes: ↵Cyril Brulebois1-1/+0
#804415).
2015-05-15Switch default mirror from ftp.us.debian.org to httpredir.debian.orgCyril Brulebois1-1/+1
The latter is now an official service, see announce: https://lists.debian.org/debian-devel-announce/2015/05/msg00003.html
2015-05-15Detect incompatible options and abort accordingly.Cyril Brulebois1-0/+6
2015-05-15Add support for --force-check-gpg (Closes: #661501, #733179, #775454).Cyril Brulebois1-0/+8
With this option, one can programmatically make sure keyring checks are used and that no fallback to an https mirror happens.
2014-09-24Move set -e out of shebang line. Closes: #762713Joey Hess1-1/+2
2013-12-27Avoid writing https urls into sources.list, as apt does not support https.Joey Hess1-1/+1
When a https url is used, fall back to the default mirror for sources.list.
2013-12-27default to https mirror for Debian when no gpg verification is availableJoey Hess1-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
2013-05-18Clarify location of pkgdetails.c in error message (closes: #708771).Colin Watson1-1/+1
2012-11-20Remove double quotes to fix for loop on GNU/kFreeBSD, thanks to Oleg ↵Cyril Brulebois1-1/+1
Ginzburg (Closes: #693718).
2011-11-19Fix --print-debs support when using --foreign param. Closes: #551837.Otavio Salvador1-1/+5
2011-08-15warn about missing modules on FreeBSDJoey Hess1-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.
2011-08-15Support using md5 and shaN programs, as found on FreeBSD, in addition to ↵Joey Hess1-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.
2011-08-15Search PATH for programs, rather than checking hardcoded locations.Joey Hess1-6/+5
Generally a good idea, but specifically FreeBSD does not keep gunzip in /bin/
2011-08-15typoJoey Hess1-1/+1
too much haskell coding
2011-08-15Clarify "target" in usage message.Joey Hess1-2/+2
Users complained that "target" is jargon and they have no mad man page reading skillz.
2011-08-15Fix support for running debootstrap on a FreeBSD host to create a kFreeBSD ↵Joey Hess1-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.
2011-08-15Guess host OS based on uname for non-Debian systems. Closes: #637363Joey Hess1-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.
2011-08-10simplify slightlyColin Watson1-3/+1
2011-08-10Don't use --arch when we specifically care about the host architecture ↵Colin Watson1-6/+11
(closes: #637298).
2011-07-28Copy devices.tar.gz in case we're running first_stage onlyOtavio Salvador1-0/+1
2011-07-02Mention minbase variant in --help. Closes: #632418Joey Hess1-1/+1
2011-04-08Removed the --boot-floppies switch and mode.Joey Hess1-24/+0
Assuming this has not been used in 10 years.
2011-04-08Clear all global variables used for options, so that unclean environment ↵Joey Hess1-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.
2011-03-25check keyrings by default, when possibleJoey Hess1-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.
2011-02-22sha checksum supportJoey Hess1-1/+10
2011-02-21Remove 5 second sleeps when debootstrap finds additional required ↵Joey Hess1-3/+0
dependencies. d-i just got that much faster.
2011-01-04fix to --private-key. Thanks to Jonathan KleeMiguel Figueiredo1-2/+2
r66195
2010-10-30Patch by Karl Goetz. Closes: #601821Christian Perrier1-1/+1
* Fix a typo in the debootstrap script Patch by Karl Goetz. Closes: #601822 r65225
2010-09-20Remove debug statement that slipped in.Joey Hess1-1/+0
r64821
2010-09-10support for https on debootstrapMiguel Figueiredo1-1/+31
r64676
2009-11-27* Refactor deb extractors into two new functions.Otavio Salvador1-0/+22
* Use dpkg-deb if available instead of ar (closes: #557296). * Add an --extractor option to override the automatic extractor selection. r61537
2009-07-22Apply patch from Riku Voipio <riku.voipio@iki.fi> to add support for ↵Otavio Salvador1-2/+19
scratchbox variant. Closes: #536820. r59598
2009-06-03Apply patch from Felix Zielcke <fzielcke@z-51.de> to use "dpkgOtavio Salvador1-2/+2
--print-architecture" to avoid deprecation warning. Closes: #531680. r58720
2009-03-24Apply patch from Luca Favatella <slackydeb@gmail.com> to improve coding style.Otavio Salvador1-4/+4
r57962
2009-03-17Export PATH, just to make sure. It isn't necessarily exported by shellsColin Watson1-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
2009-03-17Remove partial support for emitting translated progress messages withColin Watson1-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
2009-01-13Fix --unpack-tarball= option (thanks, Torsten Landschoff; closes:Colin Watson1-5/+8
#500759). r57243
2009-01-13Fix --make-tarball= option (closes: #484869).Colin Watson1-2/+2
r57239
2008-01-19Error out on unrecognized optionsFrans Pop1-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