4
See the manpage for (some) documentation.
6
Running debootstrap from source
7
-------------------------------
9
You can run debootstrap from its source tree without installing it. This
10
can be useful if you want a quick way to make a Debian chroot on another
11
system, or if you are testing modifications to debootstrap.
13
First, get the source.
15
* Either by using subversion:
16
svn checkout svn://svn.debian.org/d-i/trunk/packages/debootstrap
18
* Or by visiting <http://packages.debian.org/source/sid/debootstrap>
19
and downloading the tar.gz file
21
Then as root, in the debootstrap source directory:
24
export DEBOOTSTRAP_DIR=`pwd`
31
* Cross-strap support - so you can bootstrap a filesystem to the
32
point where it will successfully boot, and finish installing itself
33
without having to be running the target architecture or OS yourself.
34
This means you should be able to run
36
debootstrap --arch powerpc sarge ./sarge-ppc-chroot ...
38
on an i386 system, boot a powerpc box with sarge-ppc-chroot as its
39
root files system, and have it "work". The cross-hurd package does
40
something similar, and should be replaced by this feature.
42
* There should be some (better) way of telling debootstrap what "base"
43
packages you want to install -- this varies between making a chroot,
44
doing an install, and doing a buildd. Also, some installs want
45
different base packages (to setup networking, or kernels, eg)
51
If there's a problem with debootstrap that you need fixed, feel free to do
52
an NMU to fix it. Usual rules: try not to break anything, and mail the
53
patch to the BTS. Don't worry about asking first though.
55
However, note that debootstrap is now team maintained. Anyone in d-i can do
56
a release without the bother of a NMU.