package/ugetty: make install step more robust
PATCH 1/1 package/ugetty: make install step more robust
Use install -D so it also works if $(TARGET_DIR)/sbin does not exist yet.
Signed-off-by Peter Korsgaard <[email protected]>
--- package/ugetty/ugetty.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/ugetty/ugetty.mk +1 -1
@@ -15,7 +15,7 @@ endef # Install ugetty->getty symlink to ensure ugetty is used define UGETTY_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 $(@D)/bin/ugetty \ + $(INSTALL) -m 0755 -D $(@D)/bin/ugetty \ $(TARGET_DIR)/sbin/ugetty ln -snf ugetty $(TARGET_DIR)/sbin/getty endef
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 3 lines · Peter Korsgaard
Use install -D so it also works if $(TARGET_DIR)/sbin does not exist yet.
Signed-off-by Peter Korsgaard <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot