diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-09-25 16:36:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-04 17:23:57 +0000 |
commit | 02f64e5db85abea708dc6c384acc8b37f1521f23 (patch) | |
tree | df491592d6594fe227b0a77099124ff6edfae24a /meta/recipes-bsp | |
parent | c76a25b6ac36b043530fab4bb35c1b62f26c545f (diff) | |
download | poky-02f64e5db85abea708dc6c384acc8b37f1521f23.tar.gz |
grub_2.02.bb: improve reproducibility
Remove several build host references from modinfo.sh files.
(From OE-Core rev: cf4abc5eebdb5f88fefe3fb633bfdc1d2a94f9e3)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/grub/grub_2.02.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub_2.02.bb b/meta/recipes-bsp/grub/grub_2.02.bb index 57c6559365..b8055e7537 100644 --- a/meta/recipes-bsp/grub/grub_2.02.bb +++ b/meta/recipes-bsp/grub/grub_2.02.bb | |||
@@ -8,6 +8,13 @@ FILES_grub-editenv = "${bindir}/grub-editenv" | |||
8 | 8 | ||
9 | do_install_append () { | 9 | do_install_append () { |
10 | install -d ${D}${sysconfdir}/grub.d | 10 | install -d ${D}${sysconfdir}/grub.d |
11 | # Remove build host references... | ||
12 | find "${D}" -name modinfo.sh -type f -exec \ | ||
13 | sed -i \ | ||
14 | -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | ||
15 | -e 's|${DEBUG_PREFIX_MAP}||g' \ | ||
16 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ | ||
17 | {} + | ||
11 | } | 18 | } |
12 | 19 | ||
13 | INSANE_SKIP_${PN} = "arch" | 20 | INSANE_SKIP_${PN} = "arch" |