summaryrefslogtreecommitdiff
path: root/run-bootstrap-in-chroot
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-07-12 10:52:56 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-07-12 10:52:56 +0100
commitac38571044b20de866697d4a64b89420052a7284 (patch)
tree7ede9655f023513ecf0a5e7c22abbfdb8782e9ff /run-bootstrap-in-chroot
parent969b8471d5c66b40903ed426e63ae07b4a61fdf4 (diff)
parent555a1f92be9a7ebaa7d5aabac2cd7624b1680d4f (diff)
downloadmorph-ac38571044b20de866697d4a64b89420052a7284.tar.gz
Merge remote branch 'origin/baserock/bugfix/S3436-fix-bootstrap-rebase2'
Split a few long lines into shorter ones to make ./check pass.
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-xrun-bootstrap-in-chroot21
1 files changed, 9 insertions, 12 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot
index 7752a667..2453d15f 100755
--- a/run-bootstrap-in-chroot
+++ b/run-bootstrap-in-chroot
@@ -135,18 +135,15 @@ EOF
# create the directory for cached ccache object files
mkdir -p "$dir/var/tmp/ccache"
- # 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.
- # We have a custom apt repository, so we'll add that to apt's
- # sources.list and install tar manually.
- # cliapp comes from code.liw.fi, so that needs to be added as well
- cat <<EOF >> "$dir/etc/apt/sources.list"
-deb http://code.liw.fi/debian squeeze main
-deb http://roadtrain.codethink.co.uk/debrock/ squeeze main
-EOF
- "./do-squeeze-chroot" apt-get update
- "./do-squeeze-chroot" apt-get install --allow-unauthenticated \
- --no-remove --yes python-cliapp
+ # manually build and install cliapp
+ "./do-squeeze-chroot" mkdir -p /src
+ "./do-squeeze-chroot" \
+ git clone git://roadtrain.codethink.co.uk/delta/cliapp /src/cliapp
+ "./do-squeeze-chroot" \
+ sh -c 'cd /src/cliapp && "$@"' -- python setup.py build
+ "./do-squeeze-chroot" \
+ sh -c 'cd /src/cliapp && "$@"' -- python setup.py install
+
if "$snapshot"
then