Skip to contentSkip to conversation

tftpd: Install TFTP client as well

PATCH New Kelvin Cheung 3 participants 4 messages Oct 23, 2014 – Oct 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tftpd: Install TFTP client as well

This patch installs TFTP client as well and overrides BusyBox implementations if BusyBox is enabled.

---
 package/tftpd/tftpd.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/tftpd/tftpd.mk +6 -0
index c8457db..74e7cfa 100644
@@ -13,7 +13,13 @@ ifneq ($(BR2_INET_IPV6),y)
 TFTPD_CONF_OPTS += --without-ipv6
 endif
 
+# Override BusyBox implementations if BusyBox is enabled.
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+SYSKLOGD_DEPENDENCIES = busybox
+endif
+
 define TFTPD_INSTALL_TARGET_CMDS
+	$(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp
 	$(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd
 	$(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/
 endef
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 tftpd: Install TFTP client as well

Hi Kelvin,

Quoted 13 lines · Kelvin Cheung

This patch installs TFTP client as well and overrides BusyBox implementations if BusyBox is enabled.

---
 package/tftpd/tftpd.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/tftpd/tftpd.mk +0 -0
index c8457db..74e7cfa 100644

package/tftpd/tftpd.mk ifneq ($(BR2_INET_IPV6),y) · line 18

Quoted 6 lines
package/tftpd/tftpd.mk +3 -0
@@ -13,7 +13,13 @@ ifneq ($(BR2_INET_IPV6),y)
 TFTPD_CONF_OPTS += --without-ipv6
 endif
 
+# Override BusyBox implementations if BusyBox is enabled.
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+SYSKLOGD_DEPENDENCIES = busybox

SYSKLOGD? Are you sure?

baruch

Quoted 7 lines
package/tftpd/tftpd.mk +3 -0
+endif
+
 define TFTPD_INSTALL_TARGET_CMDS
+	$(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp
 	$(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd
 	$(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/
 endef
Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#2 lore raw

PATCH 1/1 tftpd: Install TFTP client as well

In reply to Kelvin Cheung

Dear Kelvin Cheung,

Quoted 7 lines · Kelvin Cheung

This patch installs TFTP client as well and overrides BusyBox implementations if BusyBox is enabled.

---
 package/tftpd/tftpd.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Thanks, applied, after fixing the SYSKLOGD typo noticed by Baruch.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 tftpd: Install TFTP client as well

Sorry for my negligence.
Thanks Thomas!

2014-10-24 4:13 GMT+08:00 Thomas Petazzoni <
[email protected]>:

Quoted 19 lines

Dear Kelvin Cheung,

Quoted 7 lines · Kelvin Cheung

This patch installs TFTP client as well and overrides BusyBox implementations if BusyBox is enabled.

---
 package/tftpd/tftpd.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Thanks, applied, after fixing the SYSKLOGD typo noticed by Baruch.

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Signature · 5 lines
Best Regards!
Kelvin Cheung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141024/20ebf3b7/attachment.html>