~ubuntu-branches/ubuntu/hardy/debootstrap/hardy-backports

« back to all changes in this revision

Viewing changes to README

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-10-21 11:36:48 UTC
  • mfrom: (0.1.8 maverick)
  • Revision ID: james.westby@ubuntu.com-20101021113648-fac3y327xkwbmdte
Tags: 1.0.23ubuntu1~hardy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
README for debootstrap
 
2
======================
 
3
 
 
4
See the manpage for (some) documentation.
 
5
 
 
6
Running debootstrap from source
 
7
-------------------------------
 
8
 
 
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.
 
12
 
 
13
First, get the source. 
 
14
 
 
15
* Either by using subversion:
 
16
  svn checkout svn://svn.debian.org/d-i/trunk/packages/debootstrap
 
17
 
 
18
* Or by visiting <http://packages.debian.org/source/sid/debootstrap>
 
19
  and downloading the tar.gz file
 
20
 
 
21
Then as root, in the debootstrap source directory:
 
22
 
 
23
make devices.tar.gz
 
24
export DEBOOTSTRAP_DIR=`pwd`
 
25
debootstrap sid sid
 
26
 
 
27
 
 
28
Future
 
29
------
 
30
 
 
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 
 
35
 
 
36
        debootstrap --arch powerpc sarge ./sarge-ppc-chroot ...
 
37
 
 
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.
 
41
 
 
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)
 
46
 
 
47
 
 
48
NMUing
 
49
------
 
50
 
 
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.
 
54
 
 
55
However, note that debootstrap is now team maintained. Anyone in d-i can do
 
56
a release without the bother of a NMU.