summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2016-09-06 13:33:53 (GMT)
committerSteve McIntyre <steve@einval.com>2016-09-06 13:33:53 (GMT)
commit26ae52971b21e14c6c81af3b8aa0211bc3553dd2 (patch)
tree0bb4987a34f65e8a452a097d24792bbe083a606c /README
parent9043947bfcb14c55c771276069f76f0735f2c999 (diff)
downloaddebootstrap-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--README18
1 files changed, 14 insertions, 4 deletions
diff --git a/README b/README
index 5c08e15..af30a75 100644
--- a/README
+++ b/README
@@ -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