From: acinonyx Date: Tue, 11 Aug 2009 23:34:57 +0000 (+0000) Subject: [packages] usbutils: Fix updating of USB IDs list X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=784511bd1bbf6dc76407ca10db29b2026815378e;p=packages.git [packages] usbutils: Fix updating of USB IDs list git-svn-id: svn://svn.openwrt.org/openwrt/packages@17232 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/usbutils/Makefile b/utils/usbutils/Makefile index 5922835a6..4f2728991 100644 --- a/utils/usbutils/Makefile +++ b/utils/usbutils/Makefile @@ -27,7 +27,7 @@ endef define Package/usbutils/postinst #!/bin/sh -$${IPKG_INSTROOT}/usr/sbin/update-usbids.sh +(cd $${IPKG_INSTROOT}/usr/share; $${IPKG_INSTROOT}/usr/sbin/update-usbids.sh) endef # uses GNU configure diff --git a/utils/usbutils/patches/100-ids-relative-path.patch b/utils/usbutils/patches/100-ids-relative-path.patch new file mode 100644 index 000000000..6117c36ef --- /dev/null +++ b/utils/usbutils/patches/100-ids-relative-path.patch @@ -0,0 +1,11 @@ +--- a/update-usbids.sh.in ++++ b/update-usbids.sh.in +@@ -6,7 +6,7 @@ + + set -e + SRC="http://www.linux-usb.org/usb.ids" +-DEST=@usbids@ ++DEST=usb.ids + + # if usb.ids is read-only (because the filesystem is read-only), + # then just skip this whole process.