[Buildroot] [git commit branch/2015.08.x] package/eudev: fix install command

Peter Korsgaard peter at korsgaard.com
Fri Sep 4 10:56:36 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=ccda2ae98d5dbf2cb30d73d42a1ac8739a9e44b8
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/2015.08.x

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>
(cherry picked from commit 1037475b9b9e1ec8092e4f90c3e33f9c485867ff)
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