preseed_late: use in-target instead of chroot
This commit is contained in:
		
							parent
							
								
									fbe13f8725
								
							
						
					
					
						commit
						e853d313ca
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -15,7 +15,7 @@ sed -i "s/^set default=.*$/set default=\"3\"/" /hd-media/boot/grub/grub.cfg | ||||||
| 
 | 
 | ||||||
| if [ -d /target/etc/gdm3 ] ; then | if [ -d /target/etc/gdm3 ] ; then | ||||||
| 	# Enable automatic login (chroot because of bug in busybox sed) | 	# Enable automatic login (chroot because of bug in busybox sed) | ||||||
| 	chroot /target sed -i "/^\[daemon\]/a\AutomaticLoginEnable = true\nAutomaticLogin = debian" /etc/gdm3/daemon.conf | 	in-target sed -i "/^\[daemon\]/a\AutomaticLoginEnable = true\nAutomaticLogin = debian" /etc/gdm3/daemon.conf | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue