summaryrefslogtreecommitdiff
path: root/run-bootstrap-in-chroot
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-20 13:22:35 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-20 13:22:35 +0000
commit15bdb1607613fb393b63712ea8eb856a5bf4b81f (patch)
treee5a6b85245aa1106eaf7a473f501782b59d6331b /run-bootstrap-in-chroot
parent534c72b9b2e0932a2875511ec401332703365e18 (diff)
downloadmorph-15bdb1607613fb393b63712ea8eb856a5bf4b81f.tar.gz
Add tar 1.26 from code.liw.fi to the squeeze chroot for bootstrapping
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-xrun-bootstrap-in-chroot10
1 files changed, 10 insertions, 0 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot
index 5b834ef6..a05decbe 100755
--- a/run-bootstrap-in-chroot
+++ b/run-bootstrap-in-chroot
@@ -103,6 +103,16 @@ else
gawk,bison,python,autoconf,autopoint,automake,gettext,libtool,\
help2man,texinfo,sudo,qemu-utils,parted,kpartx,mbr,extlinux \
squeeze "$dir" "$DEBIAN_MIRROR"
+
+ # We need a backport of tar 1.26. On ARM, older versions (possibly
+ # prior to 1.25) have a bug unpacking things onto an NFS filesystem.
+ # code.liw.fi has the backport, so we'll add that to apt's sources.list
+ # and install tar manually.
+ cat <<EOF >> "$dir/etc/apt/sources.list"
+deb http://code.liw.fi/debian squeeze main
+EOF
+ ./do-squeeze-chroot apt-get update
+ ./do-squeeze-chroot apt-get install --allow-unauthenticated tar
if "$snapshot"
then