stage4: fix autologin

pull/295/head
Serge Schneider 2019-06-07 17:01:59 +01:00
parent 73fc1462fd
commit 265f342310
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash -e
ln -sf /etc/systemd/system/autologin@.service \
"${ROOTFS_DIR}/etc/systemd/system/getty.target.wants/getty@tty1.service"
on_chroot << EOF
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_boot_behaviour B4
EOF