From e4756349993f81844b187132f3ea9a6d1469c08c Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Tue, 11 Aug 2009 23:34:57 +0000 Subject: [PATCH] [packages] usbutils: Fix updating of USB IDs list SVN-Revision: 17232 --- utils/usbutils/Makefile | 2 +- utils/usbutils/patches/100-ids-relative-path.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 utils/usbutils/patches/100-ids-relative-path.patch 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. -- 2.30.2