Remove --no-timestamping wget option from update-pciids script
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 7 May 2009 13:45:02 +0000 (13:45 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 7 May 2009 13:45:02 +0000 (13:45 +0000)
This bug is introduced after upgrading pciutils package and prevents successful
installation of the package. This patch fixes update-pciids script not to use
--no-timestamping wget switch, which is not supported by busybox.

Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15679

utils/pciutils/patches/100-remove-no-timestamping.patch [new file with mode: 0644]

diff --git a/utils/pciutils/patches/100-remove-no-timestamping.patch b/utils/pciutils/patches/100-remove-no-timestamping.patch
new file mode 100644 (file)
index 0000000..f442315
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nur pciutils-3.1.2/update-pciids.sh pciutils-3.1.2-patched/update-pciids.sh
+--- pciutils-3.1.2/update-pciids.sh    2008-11-11 01:11:51.000000000 +0200
++++ pciutils-3.1.2-patched/update-pciids.sh    2009-04-27 01:34:24.000000000 +0300
+@@ -33,7 +33,7 @@
+       DL="curl -o $DEST.new $SRC"
+     ${quiet} && DL="$DL -s -S"
+ elif which wget >/dev/null 2>&1 ; then
+-      DL="wget --no-timestamping -O $DEST.new $SRC"
++      DL="wget -O $DEST.new $SRC"
+       ${quiet} && DL="$DL -q"
+ elif which lynx >/dev/null 2>&1 ; then
+       DL="eval lynx -source $SRC >$DEST.new"