Bug#775424: live-build: xorriso must be called with iso level 3 to support larger live systems

2015-01-15 Thread Ronny Standtke
Package: live-build
Version: 4.0.3-1
Severity: normal

For building larger live systems (squashfs  4G) xorriso must be called
with iso level 3. We have been building our Debian Live based
distribution with this switch for the whole wheezy cycle and did not
notice any problem with it.

Please accept the attached patch to support larger Debian Live systems.


-- Package-specific info:

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

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages live-build depends on:
ii  debootstrap  1.0.66

Versions of packages live-build recommends:
ii  cpio2.11+dfsg-4
ii  live-boot-doc   4.0.1-1
ii  live-config-doc 4.0.2-1
ii  live-manual-html [live-manual]  1:4.0.1-1

live-build suggests no packages.

-- no debconf information

diff --git a/scripts/build/binary_iso b/scripts/build/binary_iso
index 7abfc69..080cc65 100755
--- a/scripts/build/binary_iso
+++ b/scripts/build/binary_iso
@@ -80,7 +80,7 @@ then
 fi
 
 # Handle xorriso generic options
-XORRISO_OPTIONS=-R -r -J -joliet-long -l -cache-inodes
+XORRISO_OPTIONS=-R -r -J -joliet-long -l -cache-inodes -iso-level 3
 
 # Handle xorriso live-build specific options
 if [ ${LIVE_IMAGE_TYPE} = iso-hybrid ]


Bug#775424: live-build: xorriso must be called with iso level 3 to support larger live systems

2015-01-15 Thread Thomas Schmitt
Hi,

some theoretical background:

-iso-level 3 implies -iso-level 2 which allows file names with
32 characters rather than only 8+.+3 characters. So if the
boot loader interprets ISO 9660 names rather than Rock Ridge
names, previously truncated names might become longer.

-iso-level 3 will not make any further difference towards the
default level 1 with data files smaller than 4 GiB. So when not
actually needed, it imposes no extra risk.

Files of 4 GiB or larger will be represented by multiple file
sections (aka extents). Modern Linux kernels have no problem
with that, when reading data files from the mounted ISO filesystem.
The BSDs and Solaris will show large files in various ill ways,
though.


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org