]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 98e78d800d6bc35cf9820d889eca68598cd241c9..5bbbd7393ebfd47156ae53e13c116c7f97492f66 100644 (file)
@@ -4,3 +4,5 @@ etc/init.d/tftpd
 #usr/man/man8/tftpd.8
 usr/sbin/tftpd
 var/tftpboot
 #usr/man/man8/tftpd.8
 usr/sbin/tftpd
 var/tftpboot
+var/tftpboot/pxelinux.0
+var/tftpboot/pxelinux.cfg
index c82747aa82a089ad5f7c058b073f8c5d56961b59..16c815ad07813160fd0853cd6dc08e06c4c93f25 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
        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)
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)