[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745760: live-build: build fails when using netboot during binary_syslinux phase



Source: live-build
Version: 4.0~alpha33-1
Severity: important

When building a netboot image, the build fails with the following error message during the binary_syslinux phase:

sed: couldn't edit tftpboot/pxelinux.cfg: not a regular file

I traced it to line 254 of build/binary_syslinux where it runs through all of the files in ${_TARGET}/*.cfg.  It attempts to run a sed on all cfg files but fails on pxelinux.cfg because it's a directory.  (/usr/share/live/build/bootloaders/pxelinux/pxelinux.cfg/)

To validate it, I removed the pxelinux.cfg directory right before the for loop and then the build completes successfully.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: