mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
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 <peter@korsgaard.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
c1e6b201aa
commit
7bea44e9f1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user