]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
tftpd: add missing directory
authorJon Murphy <jon.murphy@ipfire.org>
Mon, 1 Aug 2022 15:11:22 +0000 (10:11 -0500)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 5 Aug 2022 09:12:54 +0000 (09:12 +0000)
- starting tftpd currently throws "missing directory" error
- this change corrects the issue

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Acked-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/rootfiles/packages/tftpd
lfs/tftpd

index 377f8a21ef8de9f3dcfe5bd4c34bcec75583cc03..da19f46a09c04b56c96441892619fb5a1fa1dec4 100644 (file)
@@ -4,3 +4,4 @@ usr/sbin/tftpd
 #usr/share/man/man1/tftp.1
 #usr/share/man/man8/in.tftpd.8
 #usr/share/man/man8/tftpd.8
+var/tftpboot
index cb3d034155705ec346ece9be68e741017b5dacef..f441c499cef5e05f38af8e5c1b01830774d2d549 100644 (file)
--- a/lfs/tftpd
+++ b/lfs/tftpd
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info@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)