Skip to content

Commit 20265b2

Browse files
committed
disable the serial console
It's broken with NetBSD 10
1 parent 82a7a3b commit 20265b2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

build.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ tmpfs /var/shm tmpfs rw,-m1777,-sram%25
126126
cp $MNT/usr/mdec/boot $MNT/boot
127127

128128
#Enable serial console
129-
echo 'menu=Boot with serial console:consdev com0;boot
130-
menu=Boot without serial console;boot
131-
default=1
132-
timeout=0' > $MNT/boot.cfg
133-
sed -i 's,^\(tty00.\).*,\1"/usr/libexec/getty std.9600" vt100 on secure,' $MNT/etc/ttys
134-
sed -i 's,^\(ttyE0.\).*,\1"/usr/libexec/getty Pc" wsvt25 on secure,' $MNT/etc/ttys
135-
sed -i 's,#\(screen[[:space:]]0.*\).*,\1,' /etc/wscons.conf
129+
#echo 'menu=Boot with serial console:consdev com0;boot
130+
#menu=Boot without serial console;boot
131+
#default=1
132+
#timeout=0' > $MNT/boot.cfg
133+
#sed -i 's,^\(tty00.\).*,\1"/usr/libexec/getty std.9600" vt100 on secure,' $MNT/etc/ttys
134+
#sed -i 's,^\(ttyE0.\).*,\1"/usr/libexec/getty Pc" wsvt25 on secure,' $MNT/etc/ttys
135+
#sed -i 's,#\(screen[[:space:]]0.*\).*,\1,' /etc/wscons.conf
136136

137137
cp /etc/resolv.conf $MNT/etc/resolv.conf
138138

0 commit comments

Comments
 (0)