pxelinux package is available since Debian/jessie, so
support on either the pxelinux or older versions of
syslinux-common (which used to ship the pxelinux.0 file).
ipcalc,
isc-dhcp-server | dhcp3-server,
nfs-kernel-server,
ipcalc,
isc-dhcp-server | dhcp3-server,
nfs-kernel-server,
+ pxelinux | syslinux-common (<= 2:4.05+dfsg-6+deb7u1),
${misc:Depends}
Description: terminalserver for grml to boot via PXE
These packages provides all what's needed to boot
${misc:Depends}
Description: terminalserver for grml to boot via PXE
These packages provides all what's needed to boot
removeTftpConf
execute "mkdir -p $TFTPD_DATA_DIR_/pxelinux.cfg" die
removeTftpConf
execute "mkdir -p $TFTPD_DATA_DIR_/pxelinux.cfg" die
- execute "install -m 644 /usr/lib/syslinux/pxelinux.0 $TFTPD_DATA_DIR_" die
+ if [ -r /usr/lib/PXELINUX/pxelinux.0 ] ; then
+ execute "install -m 644 /usr/lib/PXELINUX/pxelinux.0 $TFTPD_DATA_DIR_" die
+ else # older versions of syslinux-common (<= 2:4.05+dfsg-6+deb7u1):
+ execute "install -m 644 /usr/lib/syslinux/pxelinux.0 $TFTPD_DATA_DIR_" die
+ fi
if [ -d "$MOUNT_POINT_"/boot/release ] ; then
cp -r "$MOUNT_POINT_"/boot/release "$TFTPD_DATA_DIR_"
fi
if [ -d "$MOUNT_POINT_"/boot/release ] ; then
cp -r "$MOUNT_POINT_"/boot/release "$TFTPD_DATA_DIR_"
fi