Make usbip depend on hwdata-usb files.

Change directory here to /usr/share instead of changing
all the other locations to /usr/share/hwdata.
This is simpler, for now.

Signed-off-by: Christian Melki <[email protected]>
---
 rules/usbip.in   | 2 ++
 rules/usbip.make | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/rules/usbip.in b/rules/usbip.in
index 4455ce484..3b6fb77a7 100644
--- a/rules/usbip.in
+++ b/rules/usbip.in
@@ -4,6 +4,8 @@ config USBIP
        tristate
        select UDEV
        select UDEV_LIBUDEV
+       select HWDATA           if !SYSTEMD_HWDB
+       select HWDATA_USB       if !SYSTEMD_HWDB
        prompt "usbip"
        help
          USB/IP system for sharing USB devices over the network.
diff --git a/rules/usbip.make b/rules/usbip.make
index a85512147..9d76ec578 100644
--- a/rules/usbip.make
+++ b/rules/usbip.make
@@ -32,7 +32,7 @@ USBIP_CONF_TOOL       := autoconf
 USBIP_CONF_OPT := \
        $(CROSS_AUTOCONF_USR) \
        --without-tcp-wrappers \
-       --with-usbids-dir=/usr/share/hwdata/ \
+       --with-usbids-dir=/usr/share/ \
        --with-fortify
 
 # ----------------------------------------------------------------------------
-- 
2.30.2


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to