Skip to contentSkip to conversation

udev package fixes

PATCH New Petr Stetiar 2 participants 2 messages Dec 8, 2006 – Dec 10, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udev package fixes

This patch fixes two issues in udev package:

1. mkdir: cannot create directory `/root/src/buildroot/build_i686/root/ etc/udev/rules.d': No such file or directory
2. /usr/bin/install: cannot stat `package/udev/udev.conf': No such file or directory

-- ynezz
-------------- next part --------------

udev.conf +7 -0
Index: 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
udev.mk +1 -1
Index: udev.mk
===================================================================
@@ -49,7 +49,7 @@
 
 $(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) \
#1 lore raw

PATCH 1/1 udev package fixes

Quoted 6 lines · Petr Stetiar

This patch fixes two issues in udev package:

1. mkdir: cannot create directory `/root/src/buildroot/build_i686/root/ etc/udev/rules.d': No such file or directory
2. /usr/bin/install: cannot stat `package/udev/udev.conf': No such file or directory

Applied, thanks.
PS: please send patches so they can be applied with -p1 from the toplevel source-directory.