java needs /proc mounted in the chroot? why am I surprised?
This commit is contained in:
		
					parent
					
						
							
								ecd2ccb87c
							
						
					
				
			
			
				commit
				
					
						ccf95fb2a2
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue