diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2010-12-09 10:55:04 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-13 00:19:49 +0100 |
commit | cd182cae65c0075c16910dc6b990fc3f8abbd776 (patch) | |
tree | 2b70b31d3b7018e56d28be62df92e81021fba24f | |
parent | 41a1a92095d2addc55f7050a67ce18d98781fa36 (diff) |
udev: ensure startup script is well installed
In case /etc/init.d does not exists.
[Peter: use install -D]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | package/udev/udev.mk | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -4,8 +4,8 @@ compilation, and cache is stored in ~/.buildroot-ccache. Updated/fixed packages: busybox, dbus, cloop, gdk-pixbuf, - hostapd, i2c-tools, libconfig, m4, openssh, openssl, qt, usbutils, xz, - zlib + hostapd, i2c-tools, libconfig, m4, openssh, openssl, qt, + udev, usbutils, xz, zlib New packages: dhrystone, lsuio, rsh-redone, whetstone diff --git a/package/udev/udev.mk b/package/udev/udev.mk index 90dbdceaf..4b61ce48d 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -88,7 +88,8 @@ define UDEV_INSTALL_TARGET_CMDS LDFLAGS="-warn-common" \ USE_LOG=false USE_SELINUX=false \ udevdir=$(UDEV_ROOT) EXTRAS="$(UDEV_BUILD_EXTRAS)" -C $(@D) install - $(INSTALL) -m 0755 package/udev/S10udev $(TARGET_DIR)/etc/init.d + $(INSTALL) -m 0755 -D package/udev/S10udev $(TARGET_DIR)/etc/init.d/S10udev + $(INSTALL) -m 0755 -d $(TARGET_DIR)/etc/udev/rules.d $(INSTALL) -m 0644 $(@D)/etc/udev/frugalware/* $(TARGET_DIR)/etc/udev/rules.d ( grep udev_root $(TARGET_DIR)/etc/udev/udev.conf > /dev/null 2>&1 || echo 'udev_root=/dev' >> $(TARGET_DIR)/etc/udev/udev.conf ) install -m 0755 -D $(@D)/udevstart $(TARGET_DIR)/sbin/udevstart |