[Buildroot] [git commit] lrzsz: install symlinks for XMODEM and YMODEM

Peter Korsgaard peter at korsgaard.com
Thu May 24 21:11:13 UTC 2018

commit: https://git.buildroot.net/buildroot/commit/?id=6697e59403cfd837f4b07e44a89c3ce0d5db417b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This sets the protocol choice according to the program invocation name.
That is the common lrzsz installation practice.

Cc: Matthew Starr <mstarr at hedonline.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
 package/lrzsz/lrzsz.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/lrzsz/lrzsz.mk b/package/lrzsz/lrzsz.mk
index 5dac07a295..25ecf3dead 100644
--- a/package/lrzsz/lrzsz.mk
+++ b/package/lrzsz/lrzsz.mk
@@ -24,6 +24,10 @@ define LRZSZ_INSTALL_TARGET_CMDS
 	$(INSTALL) -m 0755 -D $(@D)/src/lsz $(TARGET_DIR)/usr/bin/sz
 	ln -sf rz $(TARGET_DIR)/usr/bin/lrz
 	ln -sf sz $(TARGET_DIR)/usr/bin/lsz
+	ln -sf rz $(TARGET_DIR)/usr/bin/rb
+	ln -sf sz $(TARGET_DIR)/usr/bin/sb
+	ln -sf rz $(TARGET_DIR)/usr/bin/rx
+	ln -sf sz $(TARGET_DIR)/usr/bin/sx
 $(eval $(autotools-package))

More information about the buildroot mailing list