summaryrefslogtreecommitdiff
path: root/functions
AgeCommit message (Collapse)AuthorFilesLines
2011-07-24Add more information regarding the version and architecture in case a ↵Otavio Salvador1-1/+1
download fails. Closes: #633625.
2011-07-16Improve text of error message when decompression command is not available.Colin Watson1-1/+1
2011-05-20also look for md5sum in release file if using md5sumsJoey Hess1-1/+6
2011-05-20typoJoey Hess1-1/+1
2011-05-20Use md5sums for woody and potato, which only had those checksums in the ↵Joey Hess1-2/+11
Packages files. Closes: #627365
2011-04-13Resolve dependencies from all requested components (LP: #740167).Colin Watson1-9/+14
2011-04-08Removed the --boot-floppies switch and mode.Joey Hess1-9/+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-1/+1
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-25improve warning messageJoey Hess1-4/+5
2011-03-25Add a warning message if the keyring file is not available, and ↵Joey Hess1-0/+2
--no-check-gpg is not specified.
2011-03-25check keyrings by default, when possibleJoey Hess1-1/+7
* 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-21sha checksum supportJoey Hess1-47/+47
2011-02-10fix to ar usage. closes #598729elmig1-1/+1
2011-01-20Hurd supportJeremie Koenig1-13/+5
- Use the newer setup-translators script and firmlink $TARGET/{dev,servers} in setup_devices_hurd; - Don't attempt to build devices.tar.gz, which is not needed.
2010-09-10support for https on debootstrapMiguel Figueiredo1-1/+16
r64676
2010-01-06Apply patch from Andres Salomon <dilinger@collabora.co.uk> to fix iteration ↵Otavio Salvador1-1/+4
through components in download_main (closes: #561298). r61942
2010-01-06Apply patch from Andres Salomon <dilinger@collabora.co.uk> to honor ↵Otavio Salvador1-1/+5
--components when using mirror_style 'main' (closes: #561283). r61941
2009-12-15Apply patch from Vagrant Cascadian <vagrant+bugs@freegeek.org> not fail if ↵Otavio Salvador1-1/+1
resolv.conf is a broken symlink (closes: #390647). r61715
2009-11-27* Refactor deb extractors into two new functions.Otavio Salvador1-14/+82
* Use dpkg-deb if available instead of ar (closes: #557296). * Add an --extractor option to override the automatic extractor selection. r61537
2009-11-17Properly inform the user if the required uncompress command is not found on ↵Otavio Salvador1-4/+10
the system r61340
2009-11-16Apply patch from Clint Adams <schizo@debian.org> to add support forOtavio Salvador1-2/+8
gz/bz2/xz data.tar (closes: #458663). r61323
2009-09-24Ignore failures from dpkg --predep-package. It exits 1 if there are noColin Watson1-1/+1
suitable packages available, which isn't an error for us, but in_target complains anyway, so just use in_target_nofail; the termination condition is handled immediately afterwards anyway. r60843
2009-09-23 * Only use dpkg from the chroot, as there is no guarantee dpkg is Aurelien Jarno1-3/+3
available outside of the chroot (d-i installation for example). r60832
2009-09-22Remove boneheaded use of sudo left over from testing (closes: #547949).Colin Watson1-1/+1
r60825
2009-07-29Cope with pre-dependencies of included packages that aren't in Priority:Colin Watson1-0/+40
required (closes: #487908). r59820
2009-07-23On Linux, clear out /etc/mtab on exit if it's not a symlink. Should fixColin Watson1-0/+7
problems Wouter Verhelst and Martin Michlmayr are seeing with initramfs-tools MODULES=dep, although it probably isn't a perfect solution. r59637
2009-07-22Apply patch from Riku Voipio <riku.voipio@iki.fi> to add support for ↵Otavio Salvador1-3/+3
scratchbox variant. Closes: #536820. r59598
2009-03-24Apply patch from Luca Favatella <slackydeb@gmail.com> to improve coding style.Otavio Salvador1-5/+5
r57962
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-13Cope with ancient versions of chroot(8) that don't call chdir() (thanks,Colin Watson1-1/+1
Patrik Arvhult; closes: #350635). r57245
2009-01-13Fix handling of relative DEBOOTSTRAP_DIR (thanks, Mikhail Gusarov;Colin Watson1-1/+1
closes: #503460). r57244
2009-01-13Rename 'repeat' to 'repeatn', since 'repeat' is a reserved word in zsh;Colin Watson1-1/+2
although strictly speaking this seems like an incompatibility in zsh when linked to /bin/sh (closes: #340058). r57242
2008-07-01* Do not cache Release and Release.gpg files. Closes: #488424.Frans Pop1-8/+21
* Abort if a Packages file failed to verify. * Update standards version to 3.8.0; no other changes needed. r54000
2008-05-18Avoid "broken pipe" errors in bootstrap.log from the the smallyes function.Frans Pop1-1/+1
The errors themselves are inherent to how the function is used, so just suppress them. Patch from Joey Hess. Closes: #480560. r53420
2007-11-14Correction of r50134: pkgdetails does not belong under /usr/share; move it ↵Frans Pop1-0/+2
back to /usr/lib/debootstrap r50135
2007-11-13Add note that pkgdetails is now provided by bootstrap-base udebFrans Pop1-0/+4
r50119
2007-11-13Linewrap inlined perl code for readabilityFrans Pop1-2/+26
r50116
2007-11-13Use tab indentation in debootstrap and functions saving 3kB (relevant forFrans Pop1-978/+978
Debian Installer). A few places with extreme indentation have been given a 4-space indentation to maintain readability. No functional changes. r50115
2007-10-21* Ensure that the target directory exists in check_sane_mount.Colin Watson1-0/+2
r49844
2007-10-19* Emit an error if we cannot create working devices or executables on theColin Watson1-0/+31
target (based on work by Bastian Kleineidam; closes: #233798). r49822
2007-10-19* Add support for ssh:/// URLs (thanks, Steffen Joeris; closes: #434893).Colin Watson1-0/+8
r49820
2007-10-19* Don't rely on XSI test(1) extensions.Colin Watson1-8/+8
r49819
2007-10-19* Cope if uncompressed Packages is missing from Release (closes: #402380).Colin Watson1-5/+23
r49818
2007-10-19* Unmount /lib/init/rw on exit (closes: #391604).Colin Watson1-0/+1
r49817
2007-08-21* Ignore errors when unmounting filesystems, to avoid stopping at theColin Watson1-1/+1
first one with problems. r48992
2007-08-06Fix bunzip2 path. Closes: #436218.Otavio Salvador1-1/+1
r48889
2007-07-31* functions: Stub out /proc setup and add device setup for the HurdColin Watson1-0/+20
(thanks, Michael Banck; closes: #314311). r48818
2007-07-31* Extensive quoting fixes, allowing installation to a target containingColin Watson1-67/+84
spaces (closes: #387673). r48817
2007-06-20* Add default_mirror function; reorganise the debootstrap script a littleColin Watson1-0/+4
so that it works. Set the default mirror for Ubuntu suites to http://archive.ubuntu.com/ubuntu, and the default mirror for Debian etch/lenny/sid architectures other than amd64 and i386 to http://ftp.us.debian.org/debian (per ajt). r47570
2007-06-19* Fix "htp" typo in temporary /etc/apt/sources.list.Colin Watson1-1/+1
r47548