Source: fai
Severity: important
Tags: patch

Hi,

I already reported this issue to the developers' mailing list [1],
however it's probably a better idea to use the BTS to keep track of
it.

The syslinux package seems to have split pxlinux.0 into the pxelinux
package and the location of pxelinux.0 changed.  This effects the
fai-nfsroot and fai-server package.

Attached is a (upstream git) draft patch to implement these
modifications.

Best regards,

     Andi
>From 9c14e873cf1ab056028bb3279080066b3f72bab6 Mon Sep 17 00:00:00 2001
From: "Andreas B. Mundt" <a...@debian.org>
Date: Sat, 2 Aug 2014 08:52:55 +0200
Subject: [PATCH] Fix dependency and location of pxelinux.

---
 bin/fai-make-nfsroot | 2 +-
 debian/control       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/fai-make-nfsroot b/bin/fai-make-nfsroot
index 0fdd4e4..6081a56 100755
--- a/bin/fai-make-nfsroot
+++ b/bin/fai-make-nfsroot
@@ -485,7 +485,7 @@ umount_dirs() {
 setup_tftp(){
 
     # tftp environment
-    local pxebin=$NFSROOT/usr/lib/syslinux/pxelinux.0
+    local pxebin=$NFSROOT/usr/lib/PXELINUX/pxelinux.0
     rm -f $NFSROOT/boot/*.bak
     mkdir -p $TFTPROOT/pxelinux.cfg
     chmod a+r $NFSROOT/boot/initrd.img-*
diff --git a/debian/control b/debian/control
index 26f2aeb..1e42352 100644
--- a/debian/control
+++ b/debian/control
@@ -69,7 +69,7 @@ Description: Fully Automatic Installation quickstart package
 
 Package: fai-nfsroot
 Architecture: all
-Depends: fai-client, fai-setup-storage, syslinux-common | syslinux
+Depends: fai-client, fai-setup-storage, pxelinux
 Description: Fully Automatic Installation nfsroot package
  FAI is a non-interactive system to install, customize and manage
  Linux systems and software configurations on computers as well as
-- 
2.0.1

Reply via email to