From 7bea44e9f1abd25e41e0987e04377a8520d24282 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 30 Apr 2026 16:59:20 +0200 Subject: [PATCH] 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 Signed-off-by: Julien Olivain --- package/ugetty/ugetty.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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