[oe-commits] Chen Qi : pigz: set ALTERNATIVE for nativesdk package to empty

git at git.openembedded.org git at git.openembedded.org
Fri May 1 06:40:23 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 666e0b5c117202e9e866ef62eac99e0af9c8c2fb
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=666e0b5c117202e9e866ef62eac99e0af9c8c2fb

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Tue Apr 28 14:48:00 2015 +0800

pigz: set ALTERNATIVE for nativesdk package to empty

Set ALTERNATIVE for nativesdk package to empty to avoid warnings like below.

     WARNING: pigz: NOT adding alternative provide xxx/bin/gunzip: xxx/bin/pigz does not exist

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/pigz/pigz.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/pigz/pigz.inc b/meta/recipes-extended/pigz/pigz.inc
index c271f70..cb8991d 100644
--- a/meta/recipes-extended/pigz/pigz.inc
+++ b/meta/recipes-extended/pigz/pigz.inc
@@ -32,6 +32,7 @@ do_install() {
 
 ALTERNATIVE_PRIORITY = "80"
 ALTERNATIVE_${PN} = "gunzip gzip zcat"
+ALTERNATIVE_${PN}_class-nativesdk = ""
 ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
 ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
 ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat"



More information about the Openembedded-commits mailing list