2014-02-19 20:10:21 +01:00
|
|
|
#!/bin/sh
|
2016-04-15 17:56:05 +02:00
|
|
|
# args from BR2_ROOTFS_POST_SCRIPT_ARGS
|
|
|
|
# $2 board name
|
|
|
|
|
|
|
|
cp -v board/minnowboard/grub-${2}.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
|
2016-06-21 07:35:01 +02:00
|
|
|
|
|
|
|
# Add a console on tty1
|
|
|
|
grep -qE '^tty1::' ${TARGET_DIR}/etc/inittab || \
|
|
|
|
sed -i '/GENERIC_SERIAL/a\
|
|
|
|
tty1::respawn:/sbin/getty -L tty1 0 vt100 # HDMI console' ${TARGET_DIR}/etc/inittab
|