Skip to contentSkip to conversation

xz: Allow to work with ASSUME_PROVIDED xz-native

PATCH New Richard Purdie 1 participant 1 message Jan 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xz: Allow to work with ASSUME_PROVIDED xz-native

At some point we may want to add xz-native to ASSUME_PROVIDED. This allows that to work whilst still allowing access to liblzma for those things which need it (e.g. pixz).

meta/recipes-extended/xz/xz_5.2.2.bb +3 -0
index d118f3a..6acb33e 100644
@@ -31,6 +31,9 @@ PACKAGES =+ "liblzma"
 
 FILES_liblzma = "${libdir}/liblzma*${SOLIBS}"
 
+PROVIDES_append_class-native = " xz-replacement-native"
+NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
+
 BBCLASSEXTEND = "native nativesdk"
 
 export CONFIG_SHELL="/bin/sh"