- starting tftpd currently throws "missing directory" error
- this change corrects the issue
---
config/rootfiles/packages/tftpd | 1 +
lfs/tftpd | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/config/rootfiles/packages/tftpd b/config/rootfiles/packages/tftpd
index 377f8a21e..da19f46a0 100644
--- a/config/rootfiles/packages/tftpd
+++ b/config/rootfiles/packages/tftpd
@@ -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
diff --git a/lfs/tftpd b/lfs/tftpd
index cb3d03415..f441c499c 100644
--- a/lfs/tftpd
+++ b/lfs/tftpd
@@ -1,7 +1,7 @@
###############################################################################
# #
# #
# 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