summaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-23 13:35:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-23 13:35:49 -0400
commit60ff5607ce673659a637d09ed2d8bf9ab14f6222 (patch)
tree9d3214fcb93ab088bfa58ede13d3ed8b6178b2d5 /standalone
parent43b6361c5a81fcb0d1c1bb95cb75643684aad5ab (diff)
java needs /proc mounted in the chroot? why am I surprised?
Diffstat (limited to 'standalone')
-rwxr-xr-xstandalone/android/buildchroot-inchroot3
1 files changed, 1 insertions, 2 deletions
diff --git a/standalone/android/buildchroot-inchroot b/standalone/android/buildchroot-inchroot
index 7603f1492..1229f5b16 100755
--- a/standalone/android/buildchroot-inchroot
+++ b/standalone/android/buildchroot-inchroot
@@ -6,6 +6,7 @@ if [ "$(whoami)" != root ]; then
exit 1
fi
+# java needs this mounted to work
mount -t proc proc /proc
echo "deb-src http://ftp.us.debian.org/debian stable main" >> /etc/apt/sources.list
@@ -22,5 +23,3 @@ dpkg -i automake*.deb
rm *.deb
useradd androidbuilder --create-home
su androidbuilder -c $0-asuser
-
-umount /proc