[oe-commits] [openembedded-core] 23/44: grub_2.02.bb: improve reproducibility

git at git.openembedded.org git at git.openembedded.org
Wed Nov 8 22:36:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 391ceb68ba0be36009893bc9ab8a937a985052a9
Author: Juro Bystricky <juro.bystricky at intel.com>
AuthorDate: Mon Sep 25 16:36:08 2017 -0700

    grub_2.02.bb: improve reproducibility
    
    Remove several build host references from modinfo.sh files.
    
    Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-bsp/grub/grub_2.02.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-bsp/grub/grub_2.02.bb b/meta/recipes-bsp/grub/grub_2.02.bb
index 57c6559..b8055e7 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"
 
 do_install_append () {
     install -d ${D}${sysconfdir}/grub.d
+    # Remove build host references...
+    find "${D}" -name modinfo.sh -type f -exec \
+        sed -i \
+        -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
+        -e 's|${DEBUG_PREFIX_MAP}||g' \
+        -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
+        {} +
 }
 
 INSANE_SKIP_${PN} = "arch"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list