| 
				
			 | 
			
			
				@@ -1014,7 +1014,7 @@ chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-nam 
			 | 
		
	
		
			
			| 
				1014
			 | 
			
				1014
			 | 
			
			
				 chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant usbutils 
			 | 
		
	
		
			
			| 
				1015
			 | 
			
				1015
			 | 
			
			
				 if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then 
			 | 
		
	
		
			
			| 
				1016
			 | 
			
				1016
			 | 
			
			
				     chroot "$rootdir" apt-get install -y cryptsetup zsh pinentry-curses iotop bc 
			 | 
		
	
		
			
			| 
				1017
			 | 
			
				
			 | 
			
			
				-    chroot "$rootdir" apt-get install -y grub2 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1017
			 | 
			
			
				+    chroot "$rootdir" apt-get install -y grub2 hostapd 
			 | 
		
	
		
			
			| 
				1018
			 | 
			
				1018
			 | 
			
			
				 fi 
			 | 
		
	
		
			
			| 
				1019
			 | 
			
				1019
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				1020
			 | 
			
				1020
			 | 
			
			
				 sed -i "s|#host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf 
			 |