1
--- a/Makefile 2008-05-13 19:01:28.000000000 +0100
2
+++ b/Makefile 2009-01-13 02:41:30.000000000 +0000
4
# Set HOTPLUG_FIRMWARE=no to override automatic building with hotplug support
5
# if it is enabled in the kernel.
6
ifeq ($(BUILDVER),linux26)
7
- ifneq (,$(wildcard $(DESTDIR)/etc/udev/rules.d))
8
+ ifneq (,$(wildcard $(DESTDIR)/lib/udev/rules.d))
13
ifneq (yes,$(UDEVRULES)) #!UDEVRULES
14
@echo "**** Dynamic filesystem detected -- not creating device nodes"
16
- install -d $(DESTDIR)/etc/udev/rules.d
17
- build_tools/genudevrules > $(DESTDIR)/etc/udev/rules.d/zaptel.rules
18
+ install -d $(DESTDIR)/lib/udev/rules.d
19
+ build_tools/genudevrules > $(DESTDIR)/lib/udev/rules.d/40-zaptel.rules
23
--- a/kernel/xpp/utils/Makefile~ 2009-01-13 02:43:52.000000000 +0000
24
+++ b/kernel/xpp/utils/Makefile 2009-01-13 02:44:08.000000000 +0000
26
DATADIR = $(datadir)/zaptel
27
MANDIR = $(mandir)/man8
28
HOTPLUG_USB_DIR = /etc/hotplug/usb
29
-UDEV_RULES_DIR = /etc/udev/rules.d
30
+UDEV_RULES_DIR = /lib/udev/rules.d
31
PERLLIBDIR := $(shell eval `perl -V:vendorlib`; echo "$$vendorlib")
32
PERL_DIRS := $(shell cd zconf; find * -name '[A-Z]*' -type d| xargs)
33
PERL_MODS_PAT := *.pm $(PERL_DIRS:%=%/*.pm)
35
# for backward compatibility and for hotplug users:
36
ln -sf $(DATADIR)/xpp_fxloader $(DESTDIR)$(HOTPLUG_USB_DIR)/
37
$(INSTALL) -d $(DESTDIR)$(UDEV_RULES_DIR)
38
- $(INSTALL_DATA) xpp.rules $(DESTDIR)$(UDEV_RULES_DIR)/
39
+ $(INSTALL_DATA) xpp.rules $(DESTDIR)$(UDEV_RULES_DIR)/40-xpp.rules
40
ifneq (,$(PERLLIBDIR))
41
$(INSTALL) -d $(DESTDIR)$(PERLLIBDIR)
42
for i in $(PERL_DIRS); \