ubuntu-buildroot/support/testing/tests/boot/test_grub/post-build.sh

8 lines
205 B
Bash
Raw Normal View History

2024-04-01 15:19:46 +00:00
#!/bin/sh
if [ -d "$BINARIES_DIR/efi-part/" ]; then
sed -i 's%tty1%ttyS0,115200%' "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg"
else
sed -i 's%tty1%ttyS0,115200%' "$TARGET_DIR/boot/grub/grub.cfg"
fi