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

Bug#717171: live-build: IMG images doesn't build due to a change in the sources



Package: live-build
Version: 3.0.5-1
Severity: important
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

live-build doesn't generate IMG (usb) images because a modification in
the code (previous versions of live-build worked), so this is a kind of
revert for that code of only 2 lines for the parted command, i don't
know if the new versions of parted requires a different command but at
least the version in wheezy needs to be set on that way or the build of
images will simply fail, see the attached patch

Thanks
Thanatermesis


- -- Package-specific info:

- -- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  debootstrap  1.0.48+deb7u1

Versions of packages live-build recommends:
ii  cpio                            2.11+dfsg-0.1
ii  gnu-fdisk                       1.2.4-3.1
ii  live-boot-doc                   3.0.1-1
ii  live-config-doc                 3.0.21-1
ii  live-manual-html [live-manual]  1:3.0.2-1

Versions of packages live-build suggests:
ii  debian-keyring  2013.04.21
ii  dosfstools      3.0.13-1
ii  fakeroot        1.18.4-2
ii  git             1:1.7.10.4-1+wheezy1
ii  gpgv            1.4.12-7
pn  loadlin         <none>
ii  memtest86+      4.20-1.1
ii  mtools          4.0.17-1
ii  parted          2.3-12
ii  squashfs-tools  1:4.2-5
ii  sudo            1.8.5p2-1+nmu1
ii  syslinux        2:4.05+dfsg-6+deb7u1
ii  uuid-runtime    2.20.1-5.3
pn  win32-loader    <none>
ii  xorriso         1.2.2-2

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJR5p0IAAoJEKLHmb/f+NfC2lYP/0Fs5MyDU9ooky+Y6ovR6mwE
j7EAn89zdJAFVNBnBqMiWgT3YNbk9yXKBXBfXXdjkWttJVRb925b6U9er4/Ejs4C
pQpAW9hC0AX+Gv/jmtpAlQ3pW91NWBF4jiQTjWk3+y7mkSk4/5S2igxY+o9sKOu/
YaAbBAgkGW5nXzCYFEtsBWbM6s/c5fQrcY658myl753DtrHKkn33mCpTU15CaJim
McaKa7TIm9Fzm92Yv/5x2dOP11RaD0GPbjhAde08C+qSSBDzkLlUhnPkGuWE7zbw
oTJZh2PHw/Dqfz8O/8lxsMr6HYy5YVeTCbnSgjS1jI46OjpSdQaA24sh0Q4rbPR0
zxrgivgwgmpuOKgZ+ZthWhGVV8GP15M8xzlM34zkl2FPBJx1nUw04w01vGKGWTUE
1V8jppZNAd2wd/Xq/H+KcsB9YMOFjADffVR72o2Hj3OIRm59LSTZCHUe2Gw0FZsP
nEqg0VqxI38vx8RD35XqRHXNrCHRAzTlPH1JkvN1s+gGPCkqMdX1/Mnz/e3d8JBI
2lnVzR7NbVQooYnH7tMSQIiD9071XZMGzj+EJ5EcG8Ts01BLedsPDmDnqQ4wZOGo
2n/ig2uOS0wvH1X0nlAbXhkezdb+fcX7xyn0SU+AMUhHCaTUZiQrbIsTWa8sAvnJ
SCozti5uYHudL/Z5m5Vd
=zOYP
-----END PGP SIGNATURE-----
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index 6527a3c..8a6ba73 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -173,7 +173,7 @@ esac
 case "${LB_BUILD_WITH_CHROOT}" in
 	true)
 		Chroot chroot "parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE}" || true
-		Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0% 100%" || true
+		Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true
 		Chroot chroot "parted -s ${FREELO} set 1 boot on" || true
 		Chroot chroot "parted -s ${FREELO} set 1 lba off" || true
 
@@ -185,7 +185,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
 
 	false)
 		parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE} || true
-		parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0% 100% || true
+		parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100% || true
 		parted -s "${FREELO}" set 1 boot on || true
 		parted -s "${FREELO}" set 1 lba off || true
 

Reply to: