[oe-commits] Javier Viguera : file: add wrapper to nativesdk-file

git at git.openembedded.org git at git.openembedded.org
Tue Nov 25 15:32:40 UTC 2014


Module: openembedded-core.git
Branch: daisy
Commit: 4bd4da1e1433ae64720f59d48188ecd1960dac28
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4bd4da1e1433ae64720f59d48188ecd1960dac28

Author: Javier Viguera <javier.viguera at digi.com>
Date:   Mon Oct 20 12:13:08 2014 +0200

file: add wrapper to nativesdk-file

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

Author of the original patch: Hongxu Jia <hongxu.jia at windriver.com>

Signed-off-by: Javier Viguera <javier.viguera at digi.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 46dbf88..a15d952 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"



More information about the Openembedded-commits mailing list