All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pciutils: fix generation of pci.ids.gz
@ 2009-08-10 17:01 Michael Smith
  2009-08-10 19:29 ` Khem Raj
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Smith @ 2009-08-10 17:01 UTC (permalink / raw)
  To: openembedded-devel

Set ZLIB=yes to prevent auto-detection by the lib/configure script,
which only looks in /usr/include.

Also fix perms for pci.ids.gz.

Signed-off-by: Michael Smith <msmith@cbnco.com>
---
 recipes/pciutils/pciutils_3.1.2.bb |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes/pciutils/pciutils_3.1.2.bb b/recipes/pciutils/pciutils_3.1.2.bb
index f23e6dd..914fdf7 100644
--- a/recipes/pciutils/pciutils_3.1.2.bb
+++ b/recipes/pciutils/pciutils_3.1.2.bb
@@ -12,12 +12,13 @@ SRC_URI_append_nylon = "file://gcc-3-compatibility.patch;patch=1 "
 
 PARALLEL_MAKE = ""
 
-PR ="r4"
+PR ="r5"
 
 EXTRA_OEMAKE += "'STRIP = '"
 export SHARED=yes
 
 do_configure () {
+	export ZLIB=yes
 	(cd lib && ./configure ${datadir} ${PV} ${TARGET_OS} 2.4.21 ${TARGET_ARCH})
 }
 
@@ -34,7 +35,7 @@ do_install () {
 
 do_install_append () {
 	install -d ${D}/${datadir}
-	install -m 6440 ${WORKDIR}/${PN}-${PV}/pci.ids ${D}/${datadir}
+	install -m 0644 ${WORKDIR}/${PN}-${PV}/pci.ids.gz ${D}/${datadir}
 
 	# The makefile does not install the development files:
 	# libpci.so pci.h header.h config.h types.h
@@ -59,4 +60,4 @@ do_stage () {
 
 
 PACKAGES =+ "pciutils-ids"
-FILES_pciutils-ids="${datadir}/pci.ids"
+FILES_pciutils-ids="${datadir}/pci.ids.gz"
-- 
1.6.3




^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-08-18 15:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10 17:01 [PATCH] pciutils: fix generation of pci.ids.gz Michael Smith
2009-08-10 19:29 ` Khem Raj
2009-08-10 21:15   ` Michael Smith
2009-08-11  1:12     ` Khem Raj
2009-08-12 13:17       ` [PATCH v2] " Michael Smith
2009-08-12 22:13         ` Khem Raj
2009-08-13 14:49           ` Michael Smith
2009-08-13 15:11             ` Holger Hans Peter Freyther
2009-08-13 15:29               ` Michael Smith
2009-08-14  6:44                 ` Denys Dmytriyenko
2009-08-18 15:42                   ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.