[Buildroot] question about /tftpboot

Jean-Christian de Rivaz jc at eclis.ch
Fri Mar 21 21:00:53 UTC 2008


Habib Bouaziz-Viallet a écrit :
> 2008/3/21, Jean-Christian de Rivaz <jc at eclis.ch>:
>> Habib Bouaziz-Viallet a écrit :
>>
>>> Hi all !
>>  >
>>  > I would like my tftp server provides access to another directory (e.g
>>  > /var/... param configured with /etc/inetd.conf  with my GNU Debian)
>>  >
>>  > '/ tftpboot'. Changing '/ tftpboot' is apparently not possible from
>>  > 'make menuconfig'
>>  >
>>  > How do i do ? Many thanks
>>  >
>>
>>
>> There is a symbol BR2_LINUX_COPYTO to adjust that. Some time ago I found
>>  it broken by the target/linux/Makefile.in.advanced file and I proposed a
>>  patch in this bug report: http://bugs.uclibc.org/view.php?id=2384
> Ok. Did you apply this successfully ? If so how to ?

You can apply with the "patch -p0" command like this:

buildroot$ patch -p0 < patch-tftpboot-kernel.diff
patching file target/linux/Makefile.in.advanced
Hunk #1 succeeded at 227 (offset 18 lines).
Hunk #2 succeeded at 387 (offset 19 lines).

I have attached an updated patch that don't show "offset lines".

I am interested to know if it work for your case.
-- 
Jean-Christian de Rivaz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-tftpboot-kernel.diff
Type: text/x-patch
Size: 1042 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/buildroot/attachments/20080321/077472de/attachment-0002.bin 


More information about the buildroot mailing list