diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2017-08-15 13:38:19 +0300 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-08-17 06:45:34 +0000 |
commit | 90c3cf671a82bfc7e3c8d3071692650ed6bbe8e8 (patch) | |
tree | 4d98eaee2f25217874e7c4fde6e816212fc4a782 /meta-intel-extras | |
parent | 623eb86f258bab4ce7a70817ba668b83c1e1f3ef (diff) | |
download | meta-boot2qt-90c3cf671a82bfc7e3c8d3071692650ed6bbe8e8.tar.gz |
intel: update grub-efi file name
Change-Id: I732eb903c0e92585e603e52ac8c250364d8cb031
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'meta-intel-extras')
-rw-r--r-- | meta-intel-extras/classes/image_dd_efi.bbclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta-intel-extras/classes/image_dd_efi.bbclass b/meta-intel-extras/classes/image_dd_efi.bbclass index 1f5fd9f..4454051 100644 --- a/meta-intel-extras/classes/image_dd_efi.bbclass +++ b/meta-intel-extras/classes/image_dd_efi.bbclass | |||
@@ -35,10 +35,15 @@ inherit image_dd | |||
35 | EXTRA_IMAGECMD_ext3 += "-L rootfs" | 35 | EXTRA_IMAGECMD_ext3 += "-L rootfs" |
36 | 36 | ||
37 | do_populate_boot() { | 37 | do_populate_boot() { |
38 | GRUB_IMAGE="grub-efi-bootia32.efi" | ||
39 | DEST_IMAGE="bootia32.efi" | ||
40 | if [ "${TARGET_ARCH}" = "x86_64" ]; then | ||
41 | GRUB_IMAGE="grub-efi-bootx64.efi" | ||
42 | DEST_IMAGE="bootx64.efi" | ||
43 | fi | ||
38 | 44 | ||
39 | mkdir -p ${WORKDIR}/EFI/BOOT/ | 45 | mkdir -p ${WORKDIR}/EFI/BOOT/ |
40 | # Path where EFI firmware searches for EFI executable | 46 | # Path where EFI firmware searches for EFI executable |
41 | cp ${DEPLOY_DIR_IMAGE}/bootx64.efi ${WORKDIR}/EFI/BOOT/ | 47 | cp ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${WORKDIR}/EFI/BOOT/${DEST_IMAGE} |
42 | mcopy -s -i ${WORKDIR}/boot.img ${WORKDIR}/EFI ::/EFI | 48 | mcopy -s -i ${WORKDIR}/boot.img ${WORKDIR}/EFI ::/EFI |
43 | } | 49 | } |
44 | |||