* [Buildroot] [PATCH] package/ugetty: make install step more robust
@ 2026-04-30 14:59 Peter Korsgaard
2026-05-03 21:30 ` Julien Olivain via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Peter Korsgaard @ 2026-04-30 14:59 UTC (permalink / raw)
To: buildroot
Use install -D so it also works if $(TARGET_DIR)/sbin does not exist yet.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
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
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-03 21:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30 14:59 [Buildroot] [PATCH] package/ugetty: make install step more robust Peter Korsgaard
2026-05-03 21:30 ` Julien Olivain via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox