]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/eudev: fix install command
authorRomain Naour <romain.naour@openwide.fr>
Tue, 1 Sep 2015 11:39:16 +0000 (13:39 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 4 Sep 2015 10:56:36 +0000 (12:56 +0200)
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>
package/eudev/eudev.mk

index b916acdc80b437f1e196b34635e53c01cee5c004..1aa74b37381cd5dd8e1240d77213ba9238b85499 100644 (file)
@@ -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