configs/pc_x86_64_efi: use genimage GPT partition table support
authorAlexandre PAYEN <alexandre.payen@smile.fr>
Wed, 7 Aug 2019 13:54:57 +0000 (15:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 12 Nov 2019 22:01:38 +0000 (23:01 +0100)
commit3468ef16fa55610bae3bacefaf816231a20cfab0
treedf04e463543d41a1ac04c264c0ebbd60c258f397
parent8d0ae2fa183f0503400fb073777c88d30750ca45
configs/pc_x86_64_efi: use genimage GPT partition table support

Thanks to the introduction of GPT partition table support in genimage,
this commit improves the pc_x86_64_efi_defconfig to remove the use of
the custom script creating the image.

Tested in QEMU, not on a physical device.

So:
- revert commit fee29b05bb7db25e37c8a5175ce00dc712554edf[1]
- add GPT support
- tweak shell script to add the correct UUID in genimage config.

[1]: https://git.buildroot.net/buildroot/commit/?id=fee29b05bb7db25e37c8a5175ce00dc712554edf
[2]: https://git.buildroot.net/buildroot/commit/?id=79b8540d624ac4846ba341b1b9691eccacf0bc05

Signed-off-by: Alexandre PAYEN <alexandre.payen@smile.fr>
Cc: Carlos Santos <casantos@datacom.com.br>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas:
 - drop commented code in post-build.sh
 - take into account comments made by Carlos Santos in
   http://patchwork.ozlabs.org/patch/1143502/]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
board/pc/genimage-efi.cfg [new file with mode: 0644]
board/pc/grub-efi.cfg [new file with mode: 0644]
board/pc/post-build.sh
board/pc/post-image-efi-gpt.sh [deleted file]
board/pc/post-image-efi.sh [new file with mode: 0755]
configs/pc_x86_64_efi_defconfig