diff options
-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" |