[oe-commits] Shrikant Bobade : pigz: Add dependency on zlib-native for pigz-native
git at git.openembedded.org
git at git.openembedded.org
Mon Aug 11 11:07:28 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 9f8ba4a5ec0278c3eb44c80b2428cde927af0770
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9f8ba4a5ec0278c3eb44c80b2428cde927af0770
Author: Shrikant Bobade <Shrikant_Bobade at mentor.com>
Date: Thu Aug 7 16:24:57 2014 +0530
pigz: Add dependency on zlib-native for pigz-native
When pigz-native and zlib-native are coming from sstate the setscenes might
not necessarily run in the expected order. The problem happens when setscene
for pigz-native runs before setscene for zlib-native. To fix the issue
do_populate_sysroot_setscene[depends] should be properly set for pigz-native.
Signed-off-by: Mikhail Durnev <mikhail_durnev at mentor.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade at mentor.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-extended/pigz/pigz.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-extended/pigz/pigz.inc b/meta/recipes-extended/pigz/pigz.inc
index 355fb2a..9a045e7 100644
--- a/meta/recipes-extended/pigz/pigz.inc
+++ b/meta/recipes-extended/pigz/pigz.inc
@@ -30,3 +30,7 @@ ALTERNATIVE_${PN} = "gzip gunzip"
ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
ALTERNATIVE_PRIORITY = "80"
+
+PIGZ_SYSROOT_DEPS = ""
+PIGZ_SYSROOT_DEPS_class-native = "zlib-native:do_populate_sysroot_setscene"
+do_populate_sysroot_setscene[depends] += "${PIGZ_SYSROOT_DEPS}"
More information about the Openembedded-commits
mailing list