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
|
||||
# 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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue