]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
usb-modeswitch*: Update path for udev rules
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 6 Nov 2025 16:06:14 +0000 (16:06 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 6 Nov 2025 16:06:14 +0000 (16:06 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/usb_modeswitch
config/rootfiles/common/usb_modeswitch_data
lfs/usb_modeswitch
lfs/usb_modeswitch_data

index 2b386b345931e4e9b62d14b07c562902dbe91802..e2925552cf1eb3e6ca8c0e74043a7f65fe4b950a 100644 (file)
@@ -1,5 +1,5 @@
 etc/usb_modeswitch.conf
-lib/udev/usb_modeswitch
+usr/lib/udev/usb_modeswitch
 usr/sbin/usb_modeswitch
 usr/sbin/usb_modeswitch_dispatcher
 #usr/share/man/man1/usb_modeswitch.1
index 724aa4a3bce224178f031e758e8682519d8edf13..a8ec19644d307a1aad44e477d9608ba6961e15c5 100644 (file)
@@ -1,5 +1,5 @@
 etc/usb_modeswitch.d
-lib/udev/rules.d/40-usb_modeswitch.rules
+usr/lib/udev/rules.d/40-usb_modeswitch.rules
 #usr/share/usb_modeswitch
 usr/share/usb_modeswitch/03f0:002a
 usr/share/usb_modeswitch/03f0:032a
index 3b478ff7d9086c36bd28e61a289302856b2d704c..9039b52b17d1e1681f69d722e6e85bdef2e87d8a 100644 (file)
@@ -75,6 +75,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && make clean
        cd $(DIR_APP) && make all $(MAKETUNING) $(EXTRA_MAKE)
-       cd $(DIR_APP) && make install
+       cd $(DIR_APP) && make install UDEVDIR=/usr/lib/udev
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
index eac1410bd01bbf3b66b1b4976deea3c02650ba7c..31275592034fbbb344da94ea180d81a6250a662e 100644 (file)
@@ -74,6 +74,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && sed -i -e "s|/issue|&-off|g" Makefile
        cd $(DIR_APP) && make clean
        cd $(DIR_APP) && make all $(MAKETUNING) $(EXTRA_MAKE)
-       cd $(DIR_APP) && make install
+       cd $(DIR_APP) && make install RULESDIR=/usr/lib/udev/rules.d
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)