diff --git a/package/ugetty/ugetty.mk b/package/ugetty/ugetty.mk index 1dc628540d..d3424bee42 100644 --- a/package/ugetty/ugetty.mk +++ b/package/ugetty/ugetty.mk @@ -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