From ba3493c434ced719135082607e5f2e1d87559952 Mon Sep 17 00:00:00 2001 From: Randy Witt Date: Thu, 22 Oct 2015 19:46:11 -0700 Subject: mtools_4.0.18.bb: Use create_wrapper() for mcopy mcopy uses the IBM850 codepage from gconv. The default install location for gconv will not match the actual install location since it can be pulled from sstate. This patch overrides the default location when running by adding GCONV_PATH to the environment for mcopy. [YOCTO #7629] Signed-off-by: Randy Witt Signed-off-by: Ross Burton --- meta/recipes-devtools/mtools/mtools_4.0.18.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta') diff --git a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/recipes-devtools/mtools/mtools_4.0.18.bb index 52decfdf63..24c9d49312 100644 --- a/meta/recipes-devtools/mtools/mtools_4.0.18.bb +++ b/meta/recipes-devtools/mtools/mtools_4.0.18.bb @@ -45,3 +45,8 @@ do_install_prepend () { mkdir -p ${D}/${bindir} mkdir -p ${D}/${datadir} } + +do_install_append_class-native () { + create_wrapper ${D}${bindir}/mcopy \ + GCONV_PATH=${libdir}/gconv +} -- cgit 1.2.3-korg