[Buildroot] question about /tftpboot

Habib Bouaziz-Viallet habib.bouaziz at gmail.com
Sat Mar 22 10:29:05 UTC 2008


2008/3/21, Jean-Christian de Rivaz <jc at eclis.ch>:
> Jean-Christian de Rivaz a écrit :
>
> > 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.
Oh it does not work for me ... unfortunately. I resolved the pb by a
symbolic link.

Thanks for the topic anyway.

>
>
> Ooops! The attached patch need to be applyed with the -p1 option like this:
>
>  buildroot$ patch -p1 < ../buildroot-patch/patch-tftpboot-kernel.diff
>
> patching file target/linux/Makefile.in.advanced
>
>
> Sorry for the mistake.
>  --
>
> Jean-Christian de Rivaz
>


-- 
M. Bouaziz-Viallet



More information about the buildroot mailing list