summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-11-16 11:48:48 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-04 17:24:00 +0000
commit66a0b5b550821ce44a15dfb017925ca7a9ad113c (patch)
tree73d65cb240f27fdf33c89a69d684ca7d7e15fe2f /meta/recipes-bsp
parentadaefc1880b3e86d51d03e89e0a6d4f08a265b19 (diff)
downloadpoky-66a0b5b550821ce44a15dfb017925ca7a9ad113c.tar.gz
grub-efi_2.02.bb: improve reproducibility
Remove several build host references from modinfo.sh files. (From OE-Core rev: 01fe3d3cf0bde71b566f3734941db60ffc9dd9b7) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 6e4182b7c540e22f25ea8bfd16b0e2b2c8eb9f82) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/grub/grub-efi_2.02.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_2.02.bb b/meta/recipes-bsp/grub/grub-efi_2.02.bb
index b949bebced..44e32a88f1 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.02.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.02.bb
@@ -41,6 +41,16 @@ do_install_class-native() {
41 install -m 755 grub-mkimage ${D}${bindir} 41 install -m 755 grub-mkimage ${D}${bindir}
42} 42}
43 43
44do_install_append_class-target() {
45 # Remove build host references...
46 find "${D}" -name modinfo.sh -type f -exec \
47 sed -i \
48 -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
49 -e 's|${DEBUG_PREFIX_MAP}||g' \
50 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
51 {} +
52}
53
44GRUB_BUILDIN ?= "boot linux ext2 fat serial part_msdos part_gpt normal efi_gop iso9660 search" 54GRUB_BUILDIN ?= "boot linux ext2 fat serial part_msdos part_gpt normal efi_gop iso9660 search"
45 55
46do_deploy() { 56do_deploy() {