Merge pull request #27 from imrehg/archtty

[archlinux] add TTY settings
This commit is contained in:
Manfred Touron 2014-11-14 18:51:11 +01:00
commit 2ec972d93d
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