Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/pciutils

Buildroot correa at uclibc.org 3 participants 6 messages Oct 31, 2008

lore
Share & tools
lore
#0 lore raw

Author: correa
Date: 2008-10-30 21:03:27 -0700 (Thu, 30 Oct 2008) New Revision: 23876

Log:
Fix bug #0005884 - pciutils depends on zlib

Modified:
trunk/buildroot/package/pciutils/Config.in
trunk/buildroot/package/pciutils/pciutils.mk

Changeset:
Modified: trunk/buildroot/package/pciutils/Config.in
===================================================================

buildroot/package/pciutils/Config.in +1 -0
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PCIUTILS
 	bool "pciutils"
+	depends on BR2_PACKAGE_ZLIB
 	help
 	  Various utilities dealing with the PCI bus.
 	  Provides things like setpci and lspci.

Modified: trunk/buildroot/package/pciutils/pciutils.mk
===================================================================

buildroot/package/pciutils/pciutils.mk +1 -1
@@ -43,7 +43,7 @@
 $(TARGET_DIR)/usr/share/misc/pci.ids: $(PCIUTILS_DIR)/.unpacked
 	install -Dc $(PCIUTILS_DIR)/pci.ids $(TARGET_DIR)/usr/share/misc/pci.ids
 
-pciutils: uclibc $(TARGET_DIR)/sbin/setpci $(TARGET_DIR)/sbin/lspci $(TARGET_DIR)/usr/share/misc/pci.ids
+pciutils: uclibc zlib $(TARGET_DIR)/sbin/setpci $(TARGET_DIR)/sbin/lspci $(TARGET_DIR)/usr/share/misc/pci.ids
 
 pciutils-clean:
 	rm $(TARGET_DIR)/sbin/lspci $(TARGET_DIR)/sbin/setpci $(TARGET_DIR)/usr/share/misc/pci.ids
#1 lore raw
Quoted 6 lines · correa at uclibc.org

Author: correa
Date: 2008-10-30 21:03:27 -0700 (Thu, 30 Oct 2008) New Revision: 23876

Log:
Fix bug #0005884 - pciutils depends on zlib

This is not correct.

#2 lore raw
Quoted 9 lines · Bernhard Reutner-Fischer
Quoted 6 lines · correa at uclibc.org

Author: correa
Date: 2008-10-30 21:03:27 -0700 (Thu, 30 Oct 2008) New Revision: 23876

Log:
Fix bug #0005884 - pciutils depends on zlib

This is not correct.

Patches welcome.

Four words mails are not as much helpfull as they might seam. What exactly is not correct? It looks pretty much correct:
http://git.kernel.org/?p=utils/pciutils/pciutils.git;a=blob;f=Makefile;h=bc163db5431c64d5d506944c5c98430a175049b5;hb=166bfe87b328908be0b1b7c7196410a1cfb1d8ea

Unless we add a patch that has no hope of ever going away or provide the author with better build solutions. Neither of those I'm willing to do for a package that I have no use for.

Either way, building without zlib, althougth possible, cripples pciutils in not being able to use compressed PCI ID databases.

Kind Regards,
Thiago A. Correa

#4 lore raw
Quoted 6 lines · Bernhard Reutner-Fischer
Quoted 4 lines · Thiago A. Corr?a
Quoted 3 lines
Quoted 1 line

Fix bug #0005884 - pciutils depends on zlib

This is not correct.

Quoted 9 lines
Quoted 1 line

Patches welcome.

http://repo.or.cz/w/buildroot.git?a=tree;f=package/pciutils;hb=HEAD

Quoted 2 lines

Either way, building without zlib, althougth possible, cripples pciutils in not being able to use compressed PCI ID databases.

yes, and that's perfectly fine.

I see. Thanks. Will apply as soon as I finish build/testing your other suggestion on zlib.