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

Bug#684893: live-build: fails to find bootloaders files when running from git checkout



Package: live-build
Version: 3.0~a57-1
Severity: important
Tags: patch

When you set LIVE_BUILD to point to a git checkout of live-build, it fails
miserably in lb_binary_syslinux because it tries to find the bootloaders
files in ${LIVE_BUILD}/bootloaders/ when they are in
${LIVE_BUILD}/share/bootloaders/.

Please apply this patch:

diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux
index ab61ddc..41b141d 100755
--- a/scripts/build/lb_binary_syslinux
+++ b/scripts/build/lb_binary_syslinux
@@ -160,7 +160,7 @@ then
 		# Internal system copy
 		if [ -n "${LIVE_BUILD}" ]
 		then
-			_SOURCE="${LIVE_BUILD}/bootloaders/${_BOOTLOADER}"
+			_SOURCE="${LIVE_BUILD}/share/bootloaders/${_BOOTLOADER}"
 		else
 			_SOURCE="/usr/share/live/build/bootloaders/${_BOOTLOADER}"
 		fi

Cheers,

-- Package-specific info:

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.4-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  cdebootstrap  0.5.9
ii  debootstrap   1.0.42

Versions of packages live-build recommends:
ii  cpio                            2.11-8
ii  gnu-fdisk                       1.2.4-3.1
ii  live-boot-doc                   3.0~a38-1
ii  live-config-doc                 3.0.1-1
ii  live-manual-html [live-manual]  1:3.0~a15-1

Versions of packages live-build suggests:
ii  dosfstools                  3.0.13-1
ii  fakeroot                    1.18.4-2
ii  genisoimage                 9:1.1.11-2
ii  git                         1:1.7.10.4-1
ii  grub                        0.97-66
ii  memtest86+                  4.20-1.1
ii  mtools                      4.0.17-1
ii  parted                      2.3-10
pn  squashfs-tools | mtd-tools  <none>
ii  sudo                        1.8.5p2-1
ii  syslinux                    2:4.05+dfsg-6
ii  uuid-runtime                2.20.1-5.1
pn  win32-loader                <none>

-- no debconf information


Reply to: