diff options
author | Randy Witt <randy.e.witt@linux.intel.com> | 2015-10-22 19:46:11 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-24 12:21:03 +0100 |
commit | ba3493c434ced719135082607e5f2e1d87559952 (patch) | |
tree | 0462daf5c903934a6e4fdf5c489d65d5ec9ed550 /meta/recipes-devtools/mtools | |
parent | a1202ed17e11400f08064c9065fdfa996554d4ad (diff) | |
download | openembedded-core-ba3493c434ced719135082607e5f2e1d87559952.tar.gz openembedded-core-ba3493c434ced719135082607e5f2e1d87559952.tar.bz2 openembedded-core-ba3493c434ced719135082607e5f2e1d87559952.zip |
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 <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/mtools')
-rw-r--r-- | meta/recipes-devtools/mtools/mtools_4.0.18.bb | 5 |
1 files changed, 5 insertions, 0 deletions
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 +} |