Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Bug in package tftp
@ 2015-08-21 11:26 universe II
  2015-08-21 13:29 ` Vicente Olivert Riera
  2015-08-24 15:16 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: universe II @ 2015-08-21 11:26 UTC (permalink / raw)
  To: buildroot

Dear all,
when adding the tftp server to my target system image I found out that 
the tftp server is not started by the corresponding init script. Reason 
for that is a typo in the init script. The tftp binary is installed with 
the filename "tftpd" but the init script tries to call "in.tftpd". Just 
fixing the name in the script solves the problem. Please find below the 
patch for correcting the bug.

Regards,
Andreas


diff -Naur a/tftpd/S80tftpd-hpa b/tftpd/S80tftpd-hpa
--- a/tftpd/S80tftpd-hpa        2015-08-07 11:38:37.572148556 +0200
+++ b/tftpd/S80tftpd-hpa        2015-08-07 14:44:19.394469103 +0200
@@ -6,7 +6,7 @@

  PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
  DESC="HPA's tftpd"
-NAME=in.tftpd
+NAME=tftpd
  DAEMON=/usr/sbin/$NAME
  PIDFILE=/var/run/$NAME.pid
  SCRIPTNAME=/etc/init.d/S80tftpd-hpa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150821/e21e33fe/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Bug in package tftp
  2015-08-21 11:26 [Buildroot] Bug in package tftp universe II
@ 2015-08-21 13:29 ` Vicente Olivert Riera
  2015-08-24 15:16 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Vicente Olivert Riera @ 2015-08-21 13:29 UTC (permalink / raw)
  To: buildroot

Dear Andreas,

On 08/21/2015 12:26 PM, universe II wrote:
> diff -Naur a/tftpd/S80tftpd-hpa b/tftpd/S80tftpd-hpa

that's not correct. You made the patch manually using "diff" from the
package directory, so the paths are not relative to $(TOPDIR). Anyway,
why you didn't make the patch using git?
You make the changes to the package/tftpd/S80tftpd-hpa file. Add that
file. Commit. And then use "git send-email --to=buildroot at buildroot.org
-1" (-1 to send only one patch starting from the HEAD).

Regards,

Vincent.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Bug in package tftp
  2015-08-21 11:26 [Buildroot] Bug in package tftp universe II
  2015-08-21 13:29 ` Vicente Olivert Riera
@ 2015-08-24 15:16 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2015-08-24 15:16 UTC (permalink / raw)
  To: buildroot

>>>>> "universe" == universe  <universeii@gmx.de> writes:

 > Dear all,
 > when adding the tftp server to my target system image I found out that
 > the tftp server is not started by the corresponding init
 > script. Reason for that is a typo in the init script. The tftp binary
 > is installed with the filename "tftpd" but the init script tries to
 > call "in.tftpd". Just fixing the name in the script solves the
 > problem. Please find below the patch for correcting the bug.

 > Regards,
 > Andreas

Fixed, thanks. In the future, please provide git formatted patches and
use your real name in From: and your Signed-off-by lines.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-24 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-21 11:26 [Buildroot] Bug in package tftp universe II
2015-08-21 13:29 ` Vicente Olivert Riera
2015-08-24 15:16 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox