summaryrefslogtreecommitdiffstats
path: root/scripts/sid (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove scratchbox2 support (closes: #796189)Riku Voipio2016-11-141-4/+2
|
* Only unpack and configure the base system when there are packages to installAnsgar Burchardt2016-10-181-11/+13
| | | | Bug: https://bugs.debian.org/825034
* Only use `tar -k` for new releasesAnsgar Burchardt2016-10-181-1/+4
| | | | | | | | | | | | | | | In old releases, notably in Debian 6 (Squeeze), multiple packages ship the same files using diversions (e.g. bash/dash). As debootstrap naively extracts packages without implementing diversions itself, it relies on tar replacing the files without an error. Ideally we could use `tar --keep-directory-symlink`, but this is likely not portable enough. So continue to use `tar -k`, but only for future releases. Note that this requires no file conflicts among packages debootstrap installs (which is a good idea anyway as they might be extracted in the wrong order). Bug: https://bugs.debian.org/838388
* Add jessie-kfreebsd to merged-/usr blacklistAnsgar Burchardt2016-10-181-1/+1
| | | | | Just as jessie, jessie-kfreebsd doesn't support merged-/usr well enough.
* Feign install of dpkg in second stageAnsgar Burchardt2016-09-091-5/+5
| | | | | | | | | | | Using the `dpkg-deb` extractor, or more precise `dpkg-deb -f`, together with busybox' `tar` results in failure: `dpkg-deb` passes additional options to `tar` that are not understood by busybox' implementation such as `--warning=no-timestamp`. We can avoid this by feigning the installation of `dpkg` in the second stage. Here it is possible to call the installed `dpkg-deb` together with the installed (GNU) `tar`.
* Use CODENAME to identify suites which support merged-/usrAnsgar Burchardt2016-09-081-2/+1
| | | | | | Unlike suite names (stable, testing, ...), the codename from the Release file does not change meaning over time. So the codename should be used for any hacks that should only happen for some releases.
* Merged /usr support for debootstrapMarco d'Itri2016-09-081-0/+6
|
* Split setup_devices in setup_devices and setup_dynamic_devices,Marco d'Itri2016-02-181-1/+3
| | | | | | | | | | | | | (setup_devices now only deals with static device nodes) 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)
* Install ca-certificates as well as apt-transport-https for HTTPS ↵Colin Watson2014-02-131-1/+1
| | | | installations. This makes it possible to copy certificates that were built into the installer to /usr/local/share/ca-certificates/ and thus have them continue to be trusted after installation.
* Install apt-transport-https if installing from an HTTPS mirror (LP: #1135163).Colin Watson2014-02-111-0/+6
| | | | | | | It may still be necessary to copy certificates into place, but there's at least a reasonable chance that somebody installing from HTTPS may want to keep using it, and we have to install apt-transport-https at this point otherwise they won't be able to do that end-to-end.
* Install base-passwd and base-files in two callsTollef Fog Heen2013-12-191-1/+2
|
* scripts/sid, scripts/gutsy: Add a policy-rc.d, matching that in ↵Colin Watson2013-05-221-0/+6
| | | | debian-installer-utils. This is the primary way to disable daemon startup.
* Move setup_devices to second stage of bootstrap. Closes: #498731, #531316Otavio Salvador2011-07-261-6/+2
|
* Use the build-essential package instead of Build-Essential: yes.Miguel Figueiredo2011-05-091-1/+1
| | | | | Thanks to Mark Hymers. Closes: #619700 Ack by otavio
* check keyrings by default, when possibleJoey Hess2011-03-251-0/+1
| | | | | | | | | | * 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.
* Revert multiarch symlink; this is no longer needed now that dpkg has ↵Colin Watson2011-03-221-1/+0
| | | | returned to a single-directory db layout.
* For sid and gutsy (a.k.a. natty), install /var/lib/dpkg/info/$(dpkg ↵Colin Watson2011-03-011-0/+1
| | | | --print-architecture) -> . symlink, to cope with multiarch dpkg.
* Avoid new(?) warning from dpkg about missing Maintainer field when feigning ↵Joey Hess2011-02-221-0/+1
| | | | install of a package.
* sid: Remove old workaround for etch era coreutils/textutils md5sumJoey Hess2010-10-311-5/+0
| | | | | | diversion problem. (#329394) r65231
* unify error messageJoey Hess2010-10-311-1/+1
| | | | | | | Afaics, neither CONF_BASE_FAIL_FIVE nor CONF_BASE_FAIL is used anywhere (in eg, base-installer), so I unified those also. r65230
* fix trivial divergence between sid and gutsy scriptsJoey Hess2010-10-311-1/+1
| | | | r65229
* Consistently use tab indenting in scripts/gutsy and scripts/sidChristian Perrier2010-10-301-18/+18
| | | | | | Ptach by Karl Goetz. Closes: #601821 r65224
* Make scripts directory in source tree look like installed directory,Joey Hess2010-02-181-0/+198
and add a section to README explaining an easy way to run debootstrap w/o installing it. Closes: #345762 r62297