Added pxelinux to the tftpboot directory.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 16 Jul 2008 13:58:04 +0000 (13:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 16 Jul 2008 13:58:04 +0000 (13:58 +0000)
I think everybody who uses tftpd will need it.

config/rootfiles/packages/tftp-hpa
lfs/tftp-hpa

index 98e78d8..5bbbd73 100644 (file)
@@ -4,3 +4,5 @@ etc/init.d/tftpd
 #usr/man/man8/tftpd.8
 usr/sbin/tftpd
 var/tftpboot
+var/tftpboot/pxelinux.0
+var/tftpboot/pxelinux.cfg
index c82747a..16c815a 100644 (file)
@@ -81,6 +81,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 /var/tftpboot
+       -mkdir -pv /var/tftpboot/pxelinux.cfg
+       cp -vf usr/lib/syslinux/pxelinux.0 /var/tftpboot
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)