aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@openwide.fr>2015-09-01 13:39:16 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-09-04 12:56:36 +0200
commitccda2ae98d5dbf2cb30d73d42a1ac8739a9e44b8 (patch)
tree146f3d78fe9914c329729f15ef6038f424ab5d87
parent16768877e324f6e3e1291613ae5db9af0da5a2bf (diff)
downloadbuildroot-ccda2ae98d5dbf2cb30d73d42a1ac8739a9e44b8.tar.gz
buildroot-ccda2ae98d5dbf2cb30d73d42a1ac8739a9e44b8.tar.bz2
package/eudev: fix install command
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@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 1037475b9b9e1ec8092e4f90c3e33f9c485867ff) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/eudev/eudev.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/eudev/eudev.mk b/package/eudev/eudev.mk
index b916acdc80..1aa74b3738 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