From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] tftpd: add missing directory
Date: Sun, 24 Jul 2022 12:52:41 +0000 [thread overview]
Message-ID: <bfa7325a-57ee-a01d-f02a-2d44f0321ea4@ipfire.org> (raw)
In-Reply-To: <20220723161408.3370724-1-jon.murphy@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 1986 bytes --]
Hello Jon,
thank you for submitting this.
Just a quick question: With regards to the tftpd rootfile (which currently does not
include /var/tftpboot), isn't this change necessary during installation of the add-on
(as well)? I. e., shouldn't this go into the installation script of the add-on?
Or did I got this wrong?
Thanks, and best regards,
Peter Müller
> - starting tftpd currently throws "missing directory" error
> - this change corrects the issue
>
> Signed-off-by: Jon Murphy <jon.murphy(a)ipfire.org>
> ---
> lfs/tftpd | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/lfs/tftpd b/lfs/tftpd
> index cb3d03415..f441c499c 100644
> --- a/lfs/tftpd
> +++ b/lfs/tftpd
> @@ -1,7 +1,7 @@
> ###############################################################################
> # #
> # IPFire.org - A linux based firewall #
> -# Copyright (C) 2007-2021 IPFire Team <info(a)ipfire.org> #
> +# Copyright (C) 2007-2022 IPFire Team <info(a)ipfire.org> #
> # #
> # This program is free software: you can redistribute it and/or modify #
> # it under the terms of the GNU General Public License as published by #
> @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE)
> DIR_APP = $(DIR_SRC)/$(THISAPP)
> TARGET = $(DIR_INFO)/$(THISAPP)
> PROG = tftpd
> -PAK_VER = 2
> +PAK_VER = 3
>
> DEPS =
>
> @@ -87,6 +87,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
> cd $(DIR_APP) && make $(MAKETUNING)
> cd $(DIR_APP) && make install
> mv -fv /usr/sbin/in.tftpd /usr/sbin/tftpd
> + mkdir -pv /var/tftpboot
> #install initscripts
> $(call INSTALL_INITSCRIPTS,$(SERVICES))
> @rm -rf $(DIR_APP)
next prev parent reply other threads:[~2022-07-24 12:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-23 16:14 Jon Murphy
2022-07-24 12:52 ` Peter Müller [this message]
2022-07-24 17:13 ` Jon Murphy
2022-08-01 15:11 ` [PATCH v2] " Jon Murphy
2022-08-01 15:26 ` Jon Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bfa7325a-57ee-a01d-f02a-2d44f0321ea4@ipfire.org \
--to=peter.mueller@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox