diff options
author | Joey Hess <joeyh@debian.org> | 2010-02-18 02:41:46 (GMT) |
---|---|---|
committer | Joey Hess <joeyh@debian.org> | 2010-02-18 02:41:46 (GMT) |
commit | 236117720cd5de5342d4b3dfbea35e5243490ae6 (patch) | |
tree | db114acda56b055bcc0b292d02a6014ce4570741 /README | |
parent | 3f031b5a0c43294259e6a7264ed96bcfab68dd07 (diff) | |
download | debootstrap-236117720cd5de5342d4b3dfbea35e5243490ae6.zip debootstrap-236117720cd5de5342d4b3dfbea35e5243490ae6.tar.gz debootstrap-236117720cd5de5342d4b3dfbea35e5243490ae6.tar.bz2 |
Make scripts directory in source tree look like installed directory,
and add a section to README explaining an easy way to run
debootstrap w/o installing it. Closes: #345762
r62297
Diffstat (limited to 'README')
-rw-r--r-- | README | 56 |
1 files changed, 56 insertions, 0 deletions
@@ -0,0 +1,56 @@ +README for debootstrap +====================== + +See the manpage for (some) documentation. + +Running debootstrap from source +------------------------------- + +You can run debootstrap from its source tree without installing it. This +can be useful if you want a quick way to make a Debian chroot on another +system, or if you are testing modifications to debootstrap. + +First, get the source. + +* Either by using subversion: + svn checkout svn://svn.debian.org/d-i/trunk/packages/debootstrap + +* Or by visiting <http://packages.debian.org/source/sid/debootstrap> + and downloading the tar.gz file + +Then as root, in the debootstrap source directory: + +make devices.tar.gz +export DEBOOTSTRAP_DIR=`pwd` +debootstrap sid sid + + +Future +------ + + * Cross-strap support - so you can bootstrap a filesystem to the + point where it will successfully boot, and finish installing itself + without having to be running the target architecture or OS yourself. + This means you should be able to run + + debootstrap --arch powerpc sarge ./sarge-ppc-chroot ... + + on an i386 system, boot a powerpc box with sarge-ppc-chroot as its + root files system, and have it "work". The cross-hurd package does + something similar, and should be replaced by this feature. + + * There should be some (better) way of telling debootstrap what "base" + packages you want to install -- this varies between making a chroot, + doing an install, and doing a buildd. Also, some installs want + different base packages (to setup networking, or kernels, eg) + + +NMUing +------ + +If there's a problem with debootstrap that you need fixed, feel free to do +an NMU to fix it. Usual rules: try not to break anything, and mail the +patch to the BTS. Don't worry about asking first though. + +However, note that debootstrap is now team maintained. Anyone in d-i can do +a release without the bother of a NMU. |