[archlinux] add TTY settings

This commit is contained in:
Gergely Imreh 2014-11-15 00:27:30 +08:00 committed by Manfred Touron
parent 924b961dc3
commit 3bab67e38d
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ patch_image() {
do_in_target "pacman -Sy --noconfirm $pkgs_pacman"
do_in_target "systemctl enable sshd.service"
# tty settings
do_in_target "systemctl disable getty@tty1.service"
do_in_target "systemctl enable serial-getty@ttyS0.service"
# clean chroot
sudo rm -f $TARGET/run/systemd/resolve/resolv.conf
sudo umount $TARGET/{sys,dev,proc} || true