public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] tftpd: add missing directory
@ 2022-07-23 16:14 Jon Murphy
  2022-07-24 12:52 ` Peter Müller
  2022-08-01 15:11 ` [PATCH v2] " Jon Murphy
  0 siblings, 2 replies; 5+ messages in thread
From: Jon Murphy @ 2022-07-23 16:14 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1526 bytes --]

 - 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)
-- 
2.30.2


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

end of thread, other threads:[~2022-08-01 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-23 16:14 [PATCH] tftpd: add missing directory Jon Murphy
2022-07-24 12:52 ` Peter Müller
2022-07-24 17:13   ` Jon Murphy
2022-08-01 15:11 ` [PATCH v2] " Jon Murphy
2022-08-01 15:26   ` Jon Murphy

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