dib_elements: Fix grub console for UEFI too 07/2107/4
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 9 Dec 2019 13:58:18 +0000 (14:58 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 12 Dec 2019 00:14:07 +0000 (01:14 +0100)
commit2dbc906c060a36a980da3dfcc2106512d17ab86a
treeabfb71c2c9f703ac25799f9eb6cf331534018957
parentfddfaa079633ecaba7fa6f5d375251b48c116bd1
dib_elements: Fix grub console for UEFI too

When UEFI is used instead of BIOS, the location of `grub.cfg` is
different.
However, DIB only handles /boot/grub2/grub.cfg, so we copy the
same grub.cfg to the EFI System Partition (ESP) explicitly.

While at it, add ttyAMA0 (the default serial console on aarch64).

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Change-Id: I2da27559fce2cabc129f18cea743919ecd09ef4e
dib_elements/myproduct/finalise.d/99-fix-grub-console