Skip to contentSkip to conversation

package/eudev: fix install command

PATCH New Romain Naour 2 participants 2 messages Sep 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/eudev/eudev.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
Signature · 1 line
2.4.3
#1 lore raw

PATCH 1/1 package/eudev: fix install command

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard