summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub
Commit message (Collapse)AuthorAgeFilesLines
* meta: start to ignore the largefile distro featureAndre McCurdy2017-03-083-9/+9
| | | | | | | | | | | | | | | | | | | | | The largefile distro feature has been enabled by default in oe-core for a long time and, more recently, also in poky-tiny. Building without the largefile distro feature receives little or no testing. Many packages now enable LFS without exposing a configure option, so there should be very little expectation that disabling the distro feature will result in a distro which globally disables LFS. Respecting the distro feature adds a maintenance over-head and may be the source of configurations oddities (e.g. dbus-native currently builds with LFS disabled for no clear reason - fixed by this commit). Ignore the largefile distro feature more widely, as a first step towards deprecating and eventually removing it. (From OE-Core rev: a75ccaea77c8aad8d46e87e8ed4af2e2e0ad5327) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Move out stale GPLv2 versions to a seperate layeruninative-1.5Richard Purdie2017-03-076-302/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are recipes where the upstream has moved to GPLv3 and these old versions are the last ones under the GPLv2 license. There are several reasons for making this move. There is a different quality of service with these recipes in that they don't get security fixes and upstream no longer care about them, in fact they're actively hostile against people using old versions. The recipes tend to need a different kind of maintenance to work with changes in the wider ecosystem and there needs to be isolation between changes made in the v3 versions and those in the v2 versions. There are probably better ways to handle a "non-GPLv3" system but right now having these in OE-Core makes them look like a first class citizen when I believe they have potential for a variety of undesireable issues. Moving them into a separate layer makes their different needs clearer, it also makes it clear how many of these there are. Some are probably not needed (e.g. mc), I also wonder whether some are useful (e.g. gmp) since most things that use them are GPLv3 only already. Someone could now more clearly see how to streamline the list of recipes here. I'm proposing we mmove to this separate layer for 2.3 with its future maintinership and testing to be determined in 2.4 and beyond. (From OE-Core rev: 19b7e950346fb1dde6505c45236eba6cd9b33b4b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi: Deploy grub named efi binariesSaul Wold2017-01-311-2/+2
| | | | | | | | | This allows both grub and systemd-boot efi bootloaders to co-exisit (From OE-Core rev: 26f4eb19b6e9c71374659605a01af762a0361f41) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub_git: remove redundant inheritsRoss Burton2017-01-161-2/+0
| | | | | | | | | These are already inherited by grub2.inc. (From OE-Core rev: 98cd9cd5fe99d0466712be3ec7c4a4ff74afeb11) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-git: Upgrade to tip of master and fix with glibc 2.25Khem Raj2017-01-161-1/+1
| | | | | | | | (From OE-Core rev: c92ccf2117a6fbc0beb82f540296e0e5b5c6a193) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi: ignore arch mismatch for x32Christopher Larson2017-01-091-1/+4
| | | | | | | | | | Ordinary 64-bit binaries are expected for the bootloader. (From OE-Core rev: 688a79b720044dd9fca3e95ff3d172252fba1e7a) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Fix build with glibc 2.25Khem Raj2016-12-202-0/+93
| | | | | | | | | Backport relevant patch from grub git (From OE-Core rev: 5e501f8e3ecf14f31da3cca5ab762af5ddc81964) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove True option to getVar callsJoshua Lock2016-12-161-1/+1
| | | | | | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) (From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2: fix some quirks and div by zeroAwais Belal2016-12-133-0/+124
| | | | | | | | | | | | | | | Rather than erroring out on a single attempt while terminating EFI services, make a few retries because such quirks are found in a few implementations. Also fix a div by zero issue in the same framework which causes an infinite reboot on the target. Both patches included here are backports. (From OE-Core rev: 5e6ac806bd9b8bf885ef1e88484e91e4cdaaa69a) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2: enforce -no-pie if supported by compilerAlexander Kanavin2016-12-082-0/+46
| | | | | | | | | | | Recent distros are enabling -pie by default; in case of grub we need to turn it off. (From OE-Core rev: aaff6c99dde3f1058bb3c4b320f27753c6c992ad) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub_git: set COMPATIBLE_HOST_armv7ve to nullYi Zhao2016-11-231-0/+1
| | | | | | | | | | | | | | | | | When build nxp-ls10xx which enable hard-float, it try to force soft-float: | checking if compiling with clang... no | checking for options to compile assembly... | checking whether -freg-struct-return works... yes | checking for options to get soft-float... no | configure: error: could not force soft-float Set COMPATIBLE_HOST_armv7ve to null to skip the build. (From OE-Core rev: 2758f03cc380990265b0bc139841d6735e0afd8d) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: fix load module all_video failedHongxu Jia2016-08-232-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* grub: split grub-editenv into it's own packageAlejandro del Castillo2016-08-181-1/+5
| | | | | | | | | | | | | | grub-editenv edits the env block at runtime on a booted system. Other tools can depend on it to configure a live system, for ex. to set next boot mode upon reboot. By splitting grub-editenv, tools don't have to depend on the entire grub package (grub-editenv just edits one file). (From OE-Core rev: 24b832b6e31c4e358d0c7a0062b69f66469cdcee) Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2.inc: run autogen.sh before configuremingli.yu@windriver.com2016-08-043-108/+43
| | | | | | | | | | | | | | | | | * When adding new source files from upstream the autogen.sh script needs to be run * Rework grub2-remove-sparc64-setup-from-x86-builds.patch to remove the grub-setup helper program grub-sparc64-setup in Makefile.util.def instead of the previous Makefile.util.am to avoid the update for Makefile.util.am in do_patch phase is overwritten by the autogen.sh in do_configure phase (From OE-Core rev: 949df030cf39e7f551302e1e6f86b0a270cd2181) Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: update patch metadataRoss Burton2016-07-084-4/+4
| | | | | | | | | Enforce the correct tag names across all of oe-core for consistency. (From OE-Core rev: 606a43dc38a00cc243f933722db657aea4129f8e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub_git: Upgrade to latest tipKhem Raj2016-05-131-1/+1
| | | | | | | | | | | Gets past the gcc6 issues seen on aarch64 | make[3]: *** [cmp.mod] Error 1 | build-grub-module-verifier: error: unsupported relocation 0x113. (From OE-Core rev: 5ae44a93aa0eeeba8d99d2bc6f5b0c11c79767a4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Fix build with gcc-6Khem Raj2016-05-132-0/+40
| | | | | | | | | | | | | | | Backport patch which silences following '../../grub-2.00/grub-core/'`gfxmenu/model.c ../../grub-2.00/grub-core/gettext/gettext.c:37:36: error: storage size of 'main_context' isn't known static struct grub_gettext_context main_context, secondary_context; ^~~~~~~~~~~~ make[3]: *** [gettext/gettext_module-gettext.o] Error 1 (From OE-Core rev: 4efac9861ab59d696bdc81ea59497febfa2d0dc8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2.inc: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysrootPeter Kjellerstedt2016-05-131-4/+1
| | | | | | (From OE-Core rev: 9a871ccbdd5224e7d0e2354c0842be742c96eda4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub_git: set COMPATIBLE_HOST_armv7a to nullRobert Yang2016-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | It doesn't work with armv7a: | build-grub-module-verifier: error: unsupported relocation 0x2b. | make[3]: *** [reboot.mod] Error 1 | make[3]: *** Waiting for unfinished jobs.... | build-grub-module-verifier: error: unsupported relocation 0x2b. | build-grub-module-verifier: error: unsupported relocation 0x2b. | make[3]: *** [halt.mod] Error 1 | make[3]: *** [cat.mod] Error 1 | build-grub-module-verifier: error: unsupported relocation 0x2b. | build-grub-module-verifier: error: unsupported relocation 0x2b. | build-grub-module-verifier: error: unsupported relocation 0x2b. | make[3]: *** [disk.mod] Error 1 | make[3]: *** [gptsync.mod] Error 1 | make[3]: *** [eval.mod] Error 1 | build-grub-module-verifier: error:build-grub-module-verifier: error: unsupported relocation 0x2bunsupported relocation 0x2b. (From OE-Core rev: a96c3ea4fb4676a13b24b8e8d1164b31080c4f56) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove redundant ac_cv_sizeof_off_t assignmentsRoss Burton2016-04-123-3/+3
| | | | | | | | | | | | | | ac_cv_sizeof_off_t was previously in the site cache files, which was breaking large file support and required a workaround in each recipe that actually wanted to use large files. Now that the entry has been removed from the site cache, we can remove the workarounds. (From OE-Core rev: 1485d7cae88adb3575c6eaa47784fe50820d2740) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: remove unused 0001-Fix-build-with-glibc-2.20.patchRobert Yang2016-04-061-32/+0
| | | | | | | | | It was used for building with glibc 2.20, now is glibc 2.23, so remove it. (From OE-Core rev: cee2794c8312a2f8266c018acfd475b1882fc0f6) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: add -Wno-error=trampolines to native CFLAGSBill Randle2016-03-201-0/+4
| | | | | | | | | | | | | | | | (Resend as mailer munged previous submission. Also updated comments to indicate problem is not limited to gcc 5.3.0.) Adds -Wno-error=trampolines to native CFLAGS prevent multiple compile errors when using gentoo builf of gcc. [YOCTO #9201] (From OE-Core rev: c2450e4fd01487aaf5bb37a4c70a5397650ba5f8) Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: fix documentation rebuildsRoss Burton2016-03-202-0/+33
| | | | | | | | | | | | If the documentation needs to rebuild then it will fail as the syntax isn't valid with modern texinfo. Backport a patch from git to fix the syntax. [ YOCTO #9306 ] (From OE-Core rev: f59263a2d1a4918e8dd12fcf968a826b3e8fa018) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2.inc: drop bogus dependency on xzAndre McCurdy2016-03-021-1/+1
| | | | | | | | | | | | | | grub contains it's own internal lzma library. Attempting to build grub against the system liblzma shared library or header files is not likely to end well. This change does not cause a floating dependency since all grub2.inc based recipes pass "--enable-liblzma=no" to configure. (From OE-Core rev: a421d474e19f98f5ffcfe9d1eb204f0dfacbbe2a) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2.inc: avoid passing -isystem to native buildsAndre McCurdy2016-03-021-0/+9
| | | | | | | | | | | | grub2 creates its own set of -nostdinc / -isystem / -ffreestanding CFLAGS and OE's default BUILD_CFLAGS (assigned to CFLAGS for native builds) etc, conflict with that. (From OE-Core rev: b15b52dc8ab7dd273605c7dfd524c0a330bfd60b) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2.inc: dont export TARGET_CFLAGS etc to grub2 configureAndre McCurdy2016-03-021-1/+7
| | | | | | | | | | | | The grub2 configure script uses variables such as TARGET_CFLAGS etc for its own purposes. Remove the OE versions from the configure environment to avoid conflicts. (From OE-Core rev: 58a79e6bf7d8c6ec03581f14fb83da0eeb526cc6) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Backport fix for largefile detection/useKhem Raj2016-01-307-5/+196
| | | | | | | | | | | | | | | | | This is inspired by musl porting, where grub's configure is enabling largefile support based on glibc versions, instead an upstream patch turns it into autoconf check Update git version recipe arm platforms use this recipe to provide grub and it needed fixes from upstream so upgrade to latest tip of git and forward port patches as well as drop the ones already applied upstream (From OE-Core rev: a290429c8415042cb8c2f4258e76a3cc6815a172) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add "CVE:" tag to current patches in OE-coreMariano Lopez2016-01-111-0/+1
| | | | | | | | | | | | | | The currnet patches in OE-core doesn't have the "CVE:" tag, now part of the policy of the patches. This is patch add this tag to several patches. There might be patches that I miss; the tag can be added in the future. (From OE-Core rev: 065ebeb3e15311d0d45385e15bf557b1c95b1669) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2: Fix CVE-2015-8370Awais Belal2016-01-072-0/+53
| | | | | | | | | | http://git.savannah.gnu.org/cgit/grub.git/commit/?id=451d80e52d851432e109771bb8febafca7a5f1f2 (From OE-Core rev: 7d0779b0133f253d06740653d8d1b8276dbcab7f) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop now pointless manual -dbg packagingRichard Purdie2015-12-163-7/+0
| | | | | | | | | With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. (From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix Upstream-Status statementsRoss Burton2015-09-121-1/+1
| | | | | | | | | | Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. (From OE-Core rev: bd220fe6ce8c3a0805f13a14706d3130ea872604) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2: fix initrd size restriction bugShan Hai2015-04-302-0/+49
| | | | | | | | | | | The current grub2 fails on loading large initrd file (> 500M) since the initrd size is added to the addr_min and causes the failure. Fix it by picking a patch from grub2 upstream. (From OE-Core rev: 156d8fecf31a7a9dc257e55e25645c561d5ba0b8) Signed-off-by: Shan Hai <shan.hai@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Backport const qualifier fix for gcc-5Khem Raj2015-04-272-0/+34
| | | | | | | | | | | gcc-5 is stricter and complains about const to non-const conversions, we backport the patch from upstream into 2.00 Change-Id: I17db365fdd253daaa1ab726e2a70ecad0ac7b2ae (From OE-Core rev: 7d79a7bfffbc39090b22bb7696cc5dbc832e49b6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Fix charset.alias for muslKhem Raj2015-04-212-0/+31
| | | | | | | | | | This is same gnulib fix replicated across needed recipes Change-Id: I756713407111a726eae98e26c9c1ff64981371c0 (From OE-Core rev: fbe6d2c12aa9f7956bc87efeb68cb64b26b60c7a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi: add PACKAGECONFIG for grub-mount and device-mapperRobert Yang2015-04-133-8/+4
| | | | | | | | | | | We had PACKAGECONFIGs for grub_2.00 and grub_git, we also need them for grub-efi, otherwise there might be failures as: grub-2.00/util/grub-mount.c:37:23: fatal error: fuse/fuse.h: No such file or directory (From OE-Core rev: a7fca64d04949e76805e7acc3f617a1cd4a107a7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi: bump the PRRobert Yang2015-01-231-1/+1
| | | | | | | | | | | | | | Fixed when rebuild: configure: error: source directory already configured; run "make distclean" there first grub doesn't need bump since it always uses autotools (not autotools-brokensep in the past). (From OE-Core rev: eee108a6ce6237f8aa7ab10f78ea9b8f69c900a5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: remove autogen-native dependency for tarball recipesRoss Burton2015-01-232-1/+3
| | | | | | | | | | The tarballs of grub ship the files that are generated by autogen, so tarball recipes don't need to depend on autogen-native (and thus guile-native). (From OE-Core rev: 0ef983cd682134443020821fed6dd6e2bbbf3188) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub 2.0: several fixesRobert Yang2015-01-169-110/+58
| | | | | | | | | | | | | | | | | | | | | | | | * Make grub, grub-efi grub_git use a grub2.inc to reduce the duplicated code. * Make grub and grub-efi use the same patches since they use the same source. (grub_git is different). * grub-efi: - Use autotools to replace autotools-brokensep - Remove the DEPENDS of freetype, it should be a RDEPENDS. - Remove grub-2.00-ignore-gnulib-gets-stupidity.patch since it is a duplication of remove-gets.patch. - Make grub-efi.rpm contain files rather than make an empty package. * grub_git: - Fix a SSE build failure. [YOCTO #6310] (From OE-Core rev: cf4aaed28a34cc652352f0817316187b72babc76) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: add cmdpath to grub configuration fileArindam Nath2014-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | An issue was found where when yocto is installed to a hard disk from a live USB key, no matter what boot order was selected in the BIOS menu, the grub menu of the USB key would always show up. The issue was narrowed down to the way grub configuration file gets embedded into the standalone bootx64.efi image. The commit prepends ($cmdpath) to the search path for grub.cfg, thus making sure the UEFI environment itself sets this to the correct device path. This in-turn lets the grub.cfg of the boot device to be loaded. (From OE-Core rev: 5ce73b6055ac5a47906e2e661bc5163604f5cec9) Signed-off-by: Arindam Nath <arindam.nath@amd.com> Reviewed-by: Drew Moseley <drew_moseley@mentor.com> Tested-by: Ravikiran Polepalli <Ravikiran_Polepalli@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi: Replace _BSD_SOURCE macro with _DEFAULT_SOURCERobert Yang2014-09-162-0/+33
| | | | | | | | | | | | | | | This is needed with glibc 2.20 since _BSD_SOURCE macro is gone Khem fixed grub, but the grub-efi also needs it, the patch can't apply to grub-efi, so made a new patch for it. (From OE-Core rev: da120dec96f8f019c0fd50576fb7490689234257) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Replace _BSD_SOURCE macro with _DEFAULT_SOURCEKhem Raj2014-09-012-0/+33
| | | | | | | | | | This is needed with glibc 2.20 since _BSD_SOURCE macro is gone (From OE-Core rev: 12edeff6f23512ff88097f7ca4cf30ca3653d2eb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub_2.00: strip the sparc64 files from buildingNitin A Kamble2014-08-232-0/+105
| | | | | | | | | | | | Avoid building and packaging of sparc64 specific files in the x86 builds. Fixes Bug: [YOCTO #6427] (From OE-Core rev: e9d1264a63f47965c2f10e18e532b117bbda26be) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub_git: bump version, remove patchTrevor Woerner2014-07-192-36/+1
| | | | | | | | | | | A previously upstreamed patch has been applied. Bump the version to incorporate this upstream update. (From OE-Core rev: 72f3c0eb12fbad7318573c060b0f84993048fdcc) Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-core: fix endianness problemShan Hai2014-07-192-0/+45
| | | | | | | | | | Fix tftp stalls on loading files bigger than ~32k bug by cherry picking a patch from grub upstream. (From OE-Core rev: adac8c63a0eefd3ce118f8964b05a952e629da38) Signed-off-by: Shan Hai <shan.hai@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-2.00: remove our 40_customRoy Li2014-06-063-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We have this in recipes-bsp/grub/grub/40_custom: [snip] menuentry "Linux" { set root=(hd0,1) linux /vmlinuz root=__ROOTFS__ rw __CONSOLE__ __VIDEO_MODE__ __VGA_MODE__ quiet } [snip] These lines are only for initrdscripts/files/init-install.sh, the side effect is that it would make the target's grub-mkconfig doesn't work well since the 40_custom will be installed to /etc/grub.d/40_custom, the grub-mkconfig will run the 40_custom, and there will always be a 'menuentry "Linux"' menu in grub.cfg no matter it is valid or not, we can do this in init-install.sh rather than grub to fix the problem, which is also much simpler. We have done the related work in init-install.sh, now we need remove our own 40_custom, and use grub's own 40_custom which is the right one. (From OE-Core rev: 4fad24fef5552bd0e4a5ea0982573ba8e4523570) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub_git: fix build warning->errorTrevor Woerner2014-06-032-0/+35
| | | | | | | | | | | | | | This patch fixes a build warning which is promoted to an error via -Werror. changes from v1: * put "Upstream-Status" in patch itself, not in OE patch header * fix commit wording (From OE-Core rev: 4b41f4199d77144a629897173cff3d1efcfa85f9) Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub git: update to latest git (grub-2.02-beta2-81-g4b8b913)Fathi Boudra2014-05-061-1/+1
| | | | | | | | (From OE-Core rev: ec6158c0a41a929bac6df9d4ab62afa5dc39544e) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser2014-05-024-8/+4
| | | | | | | | | | | | | The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. (From OE-Core rev: e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi: Use a variable to specify built-in grub modules.Philip Tricca2014-04-231-1/+3
| | | | | | | | | | | | | | The previous behavior defines a static set of modules that are built into the grub efi executable. This works fine for a limited set of boot environments namely the standard linux/initrd. This patch conditionally assigns the same modules to a variable. This allows other meta layers to add additional modules or completely override the defaults. The use case driving this patch is the use of multiboot2 and related modules. (From OE-Core rev: 597f8e0040ba3135220000b23767858c64b5c9b8) Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub git: workaround debugedit problemsKoen Kooi2014-04-231-0/+4
| | | | | | | | | Debugedit errors out on bare metal binaries. The first version of this patch limited it to 64 bit targets, but the problem now shows up on 32 bit targets (minnowboard) as well. (From OE-Core rev: f95c7611007ddda3fe36db90168c7d5de096f9cd) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>