[packages] usbutils: Fix updating of USB IDs list
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17232 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b23d33034b
commit
784511bd1b
@ -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
|
||||
|
11
utils/usbutils/patches/100-ids-relative-path.patch
Normal file
11
utils/usbutils/patches/100-ids-relative-path.patch
Normal file
@ -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.
|
Loading…
x
Reference in New Issue
Block a user