Patchwork [meta-networking] tftpd-hpa: update default tftpboot location

login
register
mail settings
Submitter Joe MacDonald
Date Oct. 25, 2013, 3:08 p.m.
Message ID <1382713732-18896-1-git-send-email-joe@deserted.net>
Download mbox | patch
Permalink /patch/60515/
State Accepted, archived
Commit 37c03f32bc51d98cfe4774994ec6639941913932
Headers show

Comments

Joe MacDonald - Oct. 25, 2013, 3:08 p.m.
The tftp-hpa package installs /var/lib/tftpboot and tftpd-hpa is
configured to use that directory, but the default points at /svc/tftpboot.
Correct that so the default points to a location that exists when the
package is installed.

Signed-off-by: Joe MacDonald <joe@deserted.net>
---
 meta-networking/recipes-daemons/tftp-hpa/files/default |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Khem Raj - Oct. 29, 2013, 12:21 a.m.
On Fri, Oct 25, 2013 at 8:08 AM, Joe MacDonald <joe@deserted.net> wrote:
> The tftp-hpa package installs /var/lib/tftpboot and tftpd-hpa is
> configured to use that directory, but the default points at /svc/tftpboot.
> Correct that so the default points to a location that exists when the
> package is installed.

Looks good

>
> Signed-off-by: Joe MacDonald <joe@deserted.net>
> ---
>  meta-networking/recipes-daemons/tftp-hpa/files/default |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-networking/recipes-daemons/tftp-hpa/files/default b/meta-networking/recipes-daemons/tftp-hpa/files/default
> index de2ed18..1dce7fd 100644
> --- a/meta-networking/recipes-daemons/tftp-hpa/files/default
> +++ b/meta-networking/recipes-daemons/tftp-hpa/files/default
> @@ -1,3 +1,3 @@
>  #Defaults for tftpd-hpa
>  RUN_DAEMON="yes"
> -OPTIONS="-l -s /srv/tftpboot"
> +OPTIONS="-l -s /var/lib/tftpboot"
> --
> 1.7.10.4
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-networking/recipes-daemons/tftp-hpa/files/default b/meta-networking/recipes-daemons/tftp-hpa/files/default
index de2ed18..1dce7fd 100644
--- a/meta-networking/recipes-daemons/tftp-hpa/files/default
+++ b/meta-networking/recipes-daemons/tftp-hpa/files/default
@@ -1,3 +1,3 @@ 
 #Defaults for tftpd-hpa
 RUN_DAEMON="yes"
-OPTIONS="-l -s /srv/tftpboot"
+OPTIONS="-l -s /var/lib/tftpboot"