dashboard
repositories
activity
search
login
luoshi
/
RK3588_XEN
forked from
~ljy/RK3588_XEN
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
增加支持hp & spk 自动切换
hc
2024-03-22
619f0f87159c5dbd2755b1b0a0eb35784be84e7a
[~luoshi/RK3588_XEN.git]
/
buildroot
/
board
/
qemu
/
x86_64
/
post-build.sh
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -u
set -e
# Add a console on tty1
if [ -e ${TARGET_DIR}/etc/inittab ]; then
grep -qE '^tty1::' ${TARGET_DIR}/etc/inittab || \
sed -i '/GENERIC_SERIAL/a\
tty1::respawn:/sbin/getty -L tty1 0 vt100 # QEMU graphical window' ${TARGET_DIR}/etc/inittab
fi