diff options
author | Martin Borg <martin.borg@enea.com> | 2018-04-26 16:33:36 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2018-04-27 09:37:40 +0200 |
commit | 3dddc82791672f96628bad0df004a61576d837bf (patch) | |
tree | d91882c3a47ff961a536a459a1e5322c54d64fc9 /recipes-bsp/grub/_ignore_grub-efi_2.02.bbappend | |
parent | 6aacc850dc8f1a5b734e9d8a7ed0530f1dfab4a0 (diff) | |
download | meta-enea-bsp-common-3dddc82791672f96628bad0df004a61576d837bf.tar.gz |
Revert "grub: upgraded grub version"
grub 2.02 is supported on upstream poky rocko branch
This reverts commit 6aacc850dc8f1a5b734e9d8a7ed0530f1dfab4a0.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-bsp/grub/_ignore_grub-efi_2.02.bbappend')
-rw-r--r-- | recipes-bsp/grub/_ignore_grub-efi_2.02.bbappend | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/recipes-bsp/grub/_ignore_grub-efi_2.02.bbappend b/recipes-bsp/grub/_ignore_grub-efi_2.02.bbappend deleted file mode 100644 index 630cc68..0000000 --- a/recipes-bsp/grub/_ignore_grub-efi_2.02.bbappend +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | # because entire grub folder was taken from newer branch(rocko) we are using a separate bbappend | ||
2 | # just to facilitate the move of changes(keep only this file) when switch to new branch | ||
3 | # | ||
4 | # Determine the target arch for the grub modules | ||
5 | python __anonymous_prepend () { | ||
6 | import re | ||
7 | target = d.getVar('TARGET_ARCH') | ||
8 | if target == "x86_64": | ||
9 | grubtarget = 'x86_64' | ||
10 | grubimage = "grub-efi-bootx64.efi" | ||
11 | elif re.match('i.86', target): | ||
12 | grubtarget = 'i386' | ||
13 | grubimage = "grub-efi-bootia32.efi" | ||
14 | elif re.match('aarch64', target): | ||
15 | grubtarget = 'arm64' | ||
16 | grubimage = "grub-efi-bootaa64.efi" | ||
17 | else: | ||
18 | raise bb.parse.SkipPackage("grub-efi is incompatible with target %s" % target) | ||
19 | d.setVar("GRUB_TARGET", grubtarget) | ||
20 | d.setVar("GRUB_IMAGE", grubimage) | ||
21 | } | ||
22 | |||
23 | COMPATIBLE_HOST = "aarch64-enea-linux" | ||