| 
				
			 | 
			
			
				@@ -1045,7 +1045,7 @@ function image_setup_utils { 
			 | 
		
	
		
			
			| 
				1045
			 | 
			
				1045
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				1046
			 | 
			
				1046
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				1047
			 | 
			
				1047
			 | 
			
			
				     if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'i386' ]]; then 
			 | 
		
	
		
			
			| 
				1048
			 | 
			
				
			 | 
			
			
				-        chroot "$rootdir" apt-get -yq install grub2 lvm2 initramfs-tools 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1048
			 | 
			
			
				+        chroot "$rootdir" apt-get -yq install grub2 lvm2 
			 | 
		
	
		
			
			| 
				1049
			 | 
			
				1049
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				1050
			 | 
			
				1050
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				1051
			 | 
			
				1051
			 | 
			
			
				     chroot "$rootdir" apt-get -yq install locales locales-all debconf 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -1356,7 +1356,7 @@ chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-nam 
			 | 
		
	
		
			
			| 
				1356
			 | 
			
				1356
			 | 
			
			
				 chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant usbutils 
			 | 
		
	
		
			
			| 
				1357
			 | 
			
				1357
			 | 
			
			
				 if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then 
			 | 
		
	
		
			
			| 
				1358
			 | 
			
				1358
			 | 
			
			
				     chroot "$rootdir" apt-get install -y cryptsetup zsh pinentry-curses iotop bc 
			 | 
		
	
		
			
			| 
				1359
			 | 
			
				
			 | 
			
			
				-    chroot "$rootdir" apt-get install -y grub2 hostapd lvm2 initramfs-tools 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1359
			 | 
			
			
				+    chroot "$rootdir" apt-get install -y grub2 hostapd lvm2 
			 | 
		
	
		
			
			| 
				1360
			 | 
			
				1360
			 | 
			
			
				 fi 
			 | 
		
	
		
			
			| 
				1361
			 | 
			
				1361
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				1362
			 | 
			
				1362
			 | 
			
			
				 sed -i "s|#host-name=.*|host-name=${LOCAL_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf 
			 |