summaryrefslogtreecommitdiffstats
path: root/functions (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* put in_path at top so later functions can use itJoey Hess2011-08-151-12/+12
| | | | (too much haskell coding strikes again I suppose)
* Search PATH for programs, rather than checking hardcoded locations.Joey Hess2011-08-151-6/+18
| | | | Generally a good idea, but specifically FreeBSD does not keep gunzip in /bin/
* Fix support for running debootstrap on a FreeBSD host to create a kFreeBSD ↵Joey Hess2011-08-151-3/+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-8/+8
| | | | | | | | | | 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.
* Don't use --arch when we specifically care about the host architecture ↵Colin Watson2011-08-101-3/+3
| | | | (closes: #637298).
* Move setup_devices to second stage of bootstrap. Closes: #498731, #531316Otavio Salvador2011-07-261-0/+5
|
* add /usr/sbin and /sbin to PATH for fakechroot variant. Closes: #588773Otavio Salvador2011-07-261-0/+4
|
* Add more information regarding the version and architecture in case a ↵Otavio Salvador2011-07-241-1/+1
| | | | download fails. Closes: #633625.
* Improve text of error message when decompression command is not available.Colin Watson2011-07-161-1/+1
|
* also look for md5sum in release file if using md5sumsJoey Hess2011-05-201-1/+6
|
* typoJoey Hess2011-05-201-1/+1
|
* Use md5sums for woody and potato, which only had those checksums in the ↵Joey Hess2011-05-201-2/+11
| | | | Packages files. Closes: #627365
* Resolve dependencies from all requested components (LP: #740167).Colin Watson2011-04-131-9/+14
|
* Removed the --boot-floppies switch and mode.Joey Hess2011-04-081-9/+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-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.
* improve warning messageJoey Hess2011-03-251-4/+5
|
* Add a warning message if the keyring file is not available, and ↵Joey Hess2011-03-251-0/+2
| | | | --no-check-gpg is not specified.
* check keyrings by default, when possibleJoey Hess2011-03-251-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.
* sha checksum supportJoey Hess2011-02-221-47/+47
|
* fix to ar usage. closes #598729elmig2011-02-101-1/+1
|
* Hurd supportJeremie Koenig2011-01-191-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.
* support for https on debootstrapMiguel Figueiredo2010-09-101-1/+16
| | | | r64676
* Apply patch from Andres Salomon <dilinger@collabora.co.uk> to fix iteration ↵Otavio Salvador2010-01-061-1/+4
| | | | | | through components in download_main (closes: #561298). r61942
* Apply patch from Andres Salomon <dilinger@collabora.co.uk> to honor ↵Otavio Salvador2010-01-061-1/+5
| | | | | | --components when using mirror_style 'main' (closes: #561283). r61941
* Apply patch from Vagrant Cascadian <vagrant+bugs@freegeek.org> not fail if ↵Otavio Salvador2009-12-151-1/+1
| | | | | | resolv.conf is a broken symlink (closes: #390647). r61715
* * Refactor deb extractors into two new functions.Otavio Salvador2009-11-271-14/+82
| | | | | | | * Use dpkg-deb if available instead of ar (closes: #557296). * Add an --extractor option to override the automatic extractor selection. r61537
* Properly inform the user if the required uncompress command is not found on ↵Otavio Salvador2009-11-171-4/+10
| | | | | | the system r61340
* Apply patch from Clint Adams <schizo@debian.org> to add support forOtavio Salvador2009-11-161-2/+8
| | | | | | gz/bz2/xz data.tar (closes: #458663). r61323
* Ignore failures from dpkg --predep-package. It exits 1 if there are noColin Watson2009-09-241-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
* * Only use dpkg from the chroot, as there is no guarantee dpkg is Aurelien Jarno2009-09-231-3/+3
| | | | | | | available outside of the chroot (d-i installation for example). r60832
* Remove boneheaded use of sudo left over from testing (closes: #547949).Colin Watson2009-09-221-1/+1
| | | | r60825
* Cope with pre-dependencies of included packages that aren't in Priority:Colin Watson2009-07-291-0/+40
| | | | | | required (closes: #487908). r59820
* On Linux, clear out /etc/mtab on exit if it's not a symlink. Should fixColin Watson2009-07-231-0/+7
| | | | | | | | problems Wouter Verhelst and Martin Michlmayr are seeing with initramfs-tools MODULES=dep, although it probably isn't a perfect solution. r59637
* Apply patch from Riku Voipio <riku.voipio@iki.fi> to add support for ↵Otavio Salvador2009-07-221-3/+3
| | | | | | scratchbox variant. Closes: #536820. r59598
* Apply patch from Luca Favatella <slackydeb@gmail.com> to improve coding style.Otavio Salvador2009-03-241-5/+5
| | | | r57962
* 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
* Cope with ancient versions of chroot(8) that don't call chdir() (thanks,Colin Watson2009-01-131-1/+1
| | | | | | Patrik Arvhult; closes: #350635). r57245
* Fix handling of relative DEBOOTSTRAP_DIR (thanks, Mikhail Gusarov;Colin Watson2009-01-131-1/+1
| | | | | | closes: #503460). r57244
* Rename 'repeat' to 'repeatn', since 'repeat' is a reserved word in zsh;Colin Watson2009-01-131-1/+2
| | | | | | | although strictly speaking this seems like an incompatibility in zsh when linked to /bin/sh (closes: #340058). r57242
* * Do not cache Release and Release.gpg files. Closes: #488424.Frans Pop2008-07-011-8/+21
| | | | | | | * Abort if a Packages file failed to verify. * Update standards version to 3.8.0; no other changes needed. r54000
* Avoid "broken pipe" errors in bootstrap.log from the the smallyes function.Frans Pop2008-05-181-1/+1
| | | | | | | The errors themselves are inherent to how the function is used, so just suppress them. Patch from Joey Hess. Closes: #480560. r53420
* Correction of r50134: pkgdetails does not belong under /usr/share; move it ↵Frans Pop2007-11-141-0/+2
| | | | | | back to /usr/lib/debootstrap r50135
* Add note that pkgdetails is now provided by bootstrap-base udebFrans Pop2007-11-131-0/+4
| | | | r50119
* Linewrap inlined perl code for readabilityFrans Pop2007-11-131-2/+26
| | | | r50116
* Use tab indentation in debootstrap and functions saving 3kB (relevant forFrans Pop2007-11-131-978/+978
| | | | | | | | Debian Installer). A few places with extreme indentation have been given a 4-space indentation to maintain readability. No functional changes. r50115
* * Ensure that the target directory exists in check_sane_mount.Colin Watson2007-10-211-0/+2
| | | | r49844
* * Emit an error if we cannot create working devices or executables on theColin Watson2007-10-191-0/+31
| | | | | | target (based on work by Bastian Kleineidam; closes: #233798). r49822
* * Add support for ssh:/// URLs (thanks, Steffen Joeris; closes: #434893).Colin Watson2007-10-191-0/+8
| | | | r49820
* * Don't rely on XSI test(1) extensions.Colin Watson2007-10-191-8/+8
| | | | r49819
* * Cope if uncompressed Packages is missing from Release (closes: #402380).Colin Watson2007-10-191-5/+23
| | | | r49818