generic-poky/meta/recipes-bsp/grub
Hongxu Jia 86164406dd grub: fix load module all_video failed
While using oe-core toolchain to strip grub module 'all_video.mod',
it stripped symbol table:
--------------
root@localhost:~# objdump -t all_video.mod

all_video.mod:     file format elf64-x86-64

SYMBOL TABLE:
no symbols
--------------

It caused grub to load module all_video failed.
(This module will be loaded by defalut which configed in grub.cfg)
--------------
grub> insmod all_video
error: no symbol table.
--------------

Tweak strip option to keep symbol .module_license could workaround
the issue.
--------------
root@localhost:~# objdump -t all_video.mod

all_video.mod:     file format elf64-x86-64

SYMBOL TABLE:
0000000000000000 l    d  .text  0000000000000000 .text
0000000000000000 l    d  .data  0000000000000000 .data
0000000000000000 l    d  .module_license        0000000000000000 .module_license
0000000000000000 l    d  .bss   0000000000000000 .bss
0000000000000000 l    d  .moddeps       0000000000000000 .moddeps
0000000000000000 l    d  .modname       0000000000000000 .modname
--------------

(From OE-Core rev: 17e7eb96e5446821ad81977ac9ccac26b05e67a7)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-23 17:44:39 +01:00
..
files grub: fix load module all_video failed 2016-08-23 17:44:39 +01:00
grub grub_git: bump version, remove patch 2014-07-19 00:09:02 +01:00
grub-0.97 grub: add patch to support 256 byte inodes 2013-10-18 15:49:56 +01:00
grub-git meta: update patch metadata 2016-07-08 09:57:24 +01:00
grub-efi_2.00.bb meta: remove redundant ac_cv_sizeof_off_t assignments 2016-04-12 22:50:21 +01:00
grub2.inc grub: fix load module all_video failed 2016-08-23 17:44:39 +01:00
grub_0.97.bb Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it. 2014-05-02 20:46:59 +01:00
grub_2.00.bb grub: split grub-editenv into it's own package 2016-08-18 09:27:53 +01:00
grub_git.bb grub2.inc: run autogen.sh before configure 2016-08-04 15:22:23 +01:00