Skip to contentSkip to conversation

package/pigz: fix zlib dependency on host-pigz

PATCH New Louis-Paul Cordier 2 participants 2 messages May 4, 2020 – May 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pigz: fix zlib dependency on host-pigz

---
 package/pigz/Config.in      | 1 -
 package/pigz/Config.in.host | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
package/pigz/Config.in +0 -1
index a76146d8fc..af229060cf 100644
@@ -2,7 +2,6 @@ config BR2_PACKAGE_PIGZ
 	bool "pigz"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_ZLIB
-	select BR2_PACKAGE_HOST_ZLIB
 	help
 	  pigz, which stands for parallel implementation of gzip, is a
 	  fully functional replacement for gzip that exploits multiple
package/pigz/Config.in.host +1 -0
index 9903cada7d..3e3e5ac656 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_HOST_PIGZ
 	bool "host pigz"
+	select BR2_PACKAGE_HOST_ZLIB
 	help
 	  pigz, which stands for parallel implementation of gzip, is a
 	  fully functional replacement for gzip that exploits multiple
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/pigz: fix zlib dependency on host-pigz

Quoted 11 lines · On Mon, 4 May 2020 11:42:36 +0200 Louis-Paul Cordier <[email protected]> wrote:
---
 package/pigz/Config.in      | 1 -
 package/pigz/Config.in.host | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
package/pigz/Config.in +0 -0
index a76146d8fc..af229060cf 100644

package/pigz/Config.in config BR2_PACKAGE_PIGZ · line 5

Quoted 4 lines
package/pigz/Config.in +0 -1
@@ -2,7 +2,6 @@ config BR2_PACKAGE_PIGZ
 	bool "pigz"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_ZLIB
-	select BR2_PACKAGE_HOST_ZLIB

This was indeed wrong.

package/pigz/Config.in.host line 3

Quoted 11 lines
package/pigz/Config.in +0 -0
 	help
 	  pigz, which stands for parallel implementation of gzip, is a
 	  fully functional replacement for gzip that exploits multiple
package/pigz/Config.in.host +1 -0
index 9903cada7d..3e3e5ac656 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_HOST_PIGZ
 	bool "host pigz"
+	select BR2_PACKAGE_HOST_ZLIB

But this is also wrong. BR2_PACKAGE_HOST_ZLIB does not exist at all. So I dropped this part of your patch, and applied to master.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com