summaryrefslogtreecommitdiffstats
path: root/functions
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 /functions
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 'functions')
-rw-r--r--functions8
1 files changed, 1 insertions, 7 deletions
diff --git a/functions b/functions
index 031721f..67701ee 100644
--- a/functions
+++ b/functions
@@ -1065,13 +1065,7 @@ setup_devices () {
hurd*)
;;
*)
- if true; then
- setup_devices_simple
- elif [ -e "$DEVICES_TARGZ" ]; then
- zcat "$DEVICES_TARGZ" | (cd "$TARGET"; tar -xf -)
- else
- error 1 NODEVTGZ "no %s. cannot create devices" "$DEVICES_TARGZ"
- fi
+ setup_devices_simple
;;
esac
}