java needs /proc mounted in the chroot? why am I surprised?

This commit is contained in:
Joey Hess 2013-09-23 13:35:49 -04:00
parent ecd2ccb87c
commit ccf95fb2a2

View file

@ -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