summaryrefslogtreecommitdiff
path: root/standalone/android/buildchroot-inchroot
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-22 13:06:32 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-22 13:06:32 -0400
commitc7d5185b019d9ac2dfc6f9a6c17126f911888fc3 (patch)
treed67a6f6fa244e80dd0c660ca0229b9845ecc7cef /standalone/android/buildchroot-inchroot
parent272a08e3773f56a07ef9163e191a6a76cd983d69 (diff)
umount /proc
Diffstat (limited to 'standalone/android/buildchroot-inchroot')
-rwxr-xr-xstandalone/android/buildchroot-inchroot3
1 files changed, 3 insertions, 0 deletions
diff --git a/standalone/android/buildchroot-inchroot b/standalone/android/buildchroot-inchroot
index 2de76fb86..cbf026824 100755
--- a/standalone/android/buildchroot-inchroot
+++ b/standalone/android/buildchroot-inchroot
@@ -7,6 +7,7 @@ if [ "$(whoami)" != root ]; then
fi
mount -t proc proc /proc
+
echo "deb-src http://ftp.us.debian.org/debian stable main" >> /etc/apt/sources.list
apt-get update
apt-get -y install build-essential ghc git libncurses5-dev cabal-install
@@ -18,3 +19,5 @@ dpkg -i automake*.deb
rm *.deb
useradd androidbuilder
su androidbuilder -c $0-asuser
+
+umount /proc