Skip to contentSkip to conversation

package/eudev: fix install command

Buildroot Peter Korsgaard 1 participant 1 message Sep 4, 2015

lore
Share & tools
lore
#0 lore raw

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.

(cherry picked from commit 1037475b9b9e1ec8092e4f90c3e33f9c485867ff)
---
 package/eudev/eudev.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/eudev/eudev.mk +1 -1
index b916acd..1aa74b3 100644
@@ -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