Backport commit 69a3ab3 to 'daisy' which uses a different version of
file package.

Author of the original patch: Hongxu Jia <[email protected]>

Signed-off-by: Javier Viguera <[email protected]>
---
 meta/recipes-devtools/file/file_5.16.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/file/file_5.16.bb 
b/meta/recipes-devtools/file/file_5.16.bb
index 46dbf88f8db0..a15d952e3de6 100644
--- a/meta/recipes-devtools/file/file_5.16.bb
+++ b/meta/recipes-devtools/file/file_5.16.bb
@@ -32,5 +32,9 @@ do_install_append_class-native() {
                --magic-file ${datadir}/misc/magic.mgc
 }
 
+do_install_append_class-nativesdk() {
+       create_cmdline_wrapper ${D}/${bindir}/file \
+               --magic-file ${datadir}/misc/magic.mgc
+}
 
 BBCLASSEXTEND = "native nativesdk"
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to