[oe-commits] Chen Qi : pigz: set ALTERNATIVE for nativesdk package to empty
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 29 22:05:49 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 9d6c96147550495db9b93ec44ac96c1bc146576a
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9d6c96147550495db9b93ec44ac96c1bc146576a
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