[Buildroot] [git commit] package/eudev: fix install command
Peter Korsgaard
peter at korsgaard.com
Tue Sep 1 20:06:26 UTC 2015
commit: http://git.buildroot.net/buildroot/commit/?id=1037475b9b9e1ec8092e4f90c3e33f9c485867ff
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The directory $(TARGET_DIR)/etc/init.d/ must exist before installing
S10udev init script.
Add the missing "-D" option to create the "init.d" directory.
Signed-off-by: Romain Naour <romain.naour at openwide.fr>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/eudev/eudev.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/eudev/eudev.mk b/package/eudev/eudev.mk
index b916acd..1aa74b3 100644
--- a/package/eudev/eudev.mk
+++ b/package/eudev/eudev.mk
@@ -57,7 +57,7 @@ EUDEV_CONF_OPTS += --disable-selinux
endif
define EUDEV_INSTALL_INIT_SYSV
- $(INSTALL) -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
+ $(INSTALL) -D -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
endef
# Required by default rules for input devices
More information about the buildroot
mailing list