summaryrefslogtreecommitdiff
path: root/standalone/android/buildchroot-inchroot
diff options
context:
space:
mode:
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