Skip to content

Commit

Permalink
Support archiso v49
Browse files Browse the repository at this point in the history
  • Loading branch information
t13a committed Nov 3, 2020
1 parent 3129659 commit 83fbf90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/profile/mods/enable-serial-console
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

set -euxo pipefail

sed -i 's/options \(.*\)/options \1 console=ttyS0,38400/g' efiboot/loader/entries/archiso-x86_64-cd.conf
sed -i 's/options \(.*\)/options \1 console=ttyS0,38400/g' efiboot/loader/entries/archiso-x86_64-usb.conf
sed -i 's/options \(.*\)/options \1 console=ttyS0,38400/g' efiboot/loader/entries/archiso-x86_64-linux.conf
sed -i 's/options \(.*\)/options \1 console=ttyS0,38400/g' efiboot/loader/entries/archiso-x86_64-speech-linux.conf

sed -i 's/\(APPEND\) \(.*\)/\1 \2 console=tty0 console=ttyS0,115200n8/g' syslinux/archiso_sys.cfg
sed -i 's/\(APPEND\) \(.*\)/\1 \2 console=tty0 console=ttyS0,115200n8/g' syslinux/archiso_sys-linux.cfg
sed -i 's/\(APPEND\) \(.*\)/\1 \2 console=tty0 console=ttyS0,115200n8/g' syslinux/syslinux.cfg

sed -i '1s/^/SERIAL 0 115200\n/' syslinux/syslinux.cfg

0 comments on commit 83fbf90

Please sign in to comment.