diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2016-09-06 13:33:53 (GMT) |
---|---|---|
committer | Steve McIntyre <steve@einval.com> | 2016-09-06 13:33:53 (GMT) |
commit | 26ae52971b21e14c6c81af3b8aa0211bc3553dd2 (patch) | |
tree | 0bb4987a34f65e8a452a097d24792bbe083a606c /README | |
parent | 9043947bfcb14c55c771276069f76f0735f2c999 (diff) | |
download | debootstrap-26ae52971b21e14c6c81af3b8aa0211bc3553dd2.zip debootstrap-26ae52971b21e14c6c81af3b8aa0211bc3553dd2.tar.gz debootstrap-26ae52971b21e14c6c81af3b8aa0211bc3553dd2.tar.bz2 |
Excise all devices.tar.gz code
Since bug #571136 was fixed the --second-stage doesn't even use the
devices tarball so we can remove all its related cruft. The README has
been updated to show when real root access is required and give an
example of a foreign debootstrap which works with fakeroot.
Diffstat (limited to 'README')
-rw-r--r-- | README | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -18,11 +18,21 @@ First, get the source. * Or by visiting <http://packages.debian.org/source/sid/debootstrap> and downloading the tar.gz file -Then as root, in the debootstrap source directory: +Then in the debootstrap source directory: -make devices.tar.gz -export DEBOOTSTRAP_DIR=`pwd` -debootstrap sid sid + export DEBOOTSTRAP_DIR=`pwd` + sudo ./debootstrap stable my-stable-dir + +If you are running a multi-stage boot strap (for example for a QEMU +rootfs) you don't even need root: + + export DEBOOTSTRAP_DIR=`pwd` + fakeroot ./debootstrap --foreign --arch=armhf testing my-testing-dir http://httpredir.debian.org/debian + +Of course you will need to execute the second stage as root to finish the bootstrap: + + (on foreign hardware) + /debootstrap/debootstrap --second-stage Future |