summaryrefslogtreecommitdiffstats
path: root/package/udev
diff options
context:
space:
mode:
Diffstat (limited to 'package/udev')
-rw-r--r--package/udev/udev.conf7
-rw-r--r--package/udev/udev.mk2
2 files changed, 8 insertions, 1 deletions
diff --git a/package/udev/udev.conf b/package/udev/udev.conf
new file mode 100644
index 000000000..2cea6cdd3
--- /dev/null
+++ b/package/udev/udev.conf
@@ -0,0 +1,7 @@
+# udev.conf
+
+# The initial syslog(3) priority: "err", "info", "debug" or its
+# numerical equivalent. For runtime debugging, the daemons internal
+# state can be changed with: "udevcontrol log_priority=<value>".
+udev_log="err"
+udev_root=/dev
diff --git a/package/udev/udev.mk b/package/udev/udev.mk
index a33a82978..b13e59f14 100644
--- a/package/udev/udev.mk
+++ b/package/udev/udev.mk
@@ -49,7 +49,7 @@ UDEV_CONF:=etc/udev/frugalware/*
$(TARGET_DIR)/$(UDEV_TARGET_BINARY): $(UDEV_DIR)/$(UDEV_BINARY)
-mkdir $(TARGET_DIR)/sys
- -mkdir $(TARGET_DIR)/etc/udev/rules.d
+ -mkdir -p $(TARGET_DIR)/etc/udev/rules.d
$(INSTALL) -D -m 0644 $(UDEV_DIR)/$(UDEV_CONF) \
$(TARGET_DIR)/etc/udev/rules.d
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) CC=$(TARGET_CC) LD=$(TARGET_CC) \