From: Vasilis Tsiligiannis Date: Tue, 11 Aug 2009 23:34:57 +0000 (+0000) Subject: [packages] usbutils: Fix updating of USB IDs list X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=e4756349993f81844b187132f3ea9a6d1469c08c;hp=abec59e44fbeed78e19dcf53d48d0f56eb8e5a39 [packages] usbutils: Fix updating of USB IDs list SVN-Revision: 17232 --- diff --git a/utils/usbutils/Makefile b/utils/usbutils/Makefile index 5922835a61..4f2728991d 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 0000000000..6117c36ef5 --- /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.