--- Begin Message ---
Package: live-helper
Version: 1.0.6-2
Severity: important
Tags: patch
If you try to add other file areas like contrib or non-free, initial debootstrap fail because
"lh_bootstrap_debootstrap" script has a little variable names mismach at line 60:
if [ "${LH_CATEGORIES}" != "main" ]
then
# Modify categories to remove leading/trailing whitespaces and replace other whitepspace with commas
echo "COMPO=$(echo ${LH_ARCHIVE_AREAS} | sed -e 's| |,|g')"
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LH_ARCHIVE_AREAS} | sed -e 's| |,|g')"
fi
Variable LH_ARCHIVE_AREAS are LH_CATEGORIES, adding this (or renaming vars) correct the error:
if [ "${LH_CATEGORIES}" != "main" ]
then
LH_ARCHIVE_AREAS=$LH_CATEGORIES
# Modify categories to remove leading/trailing whitespaces and replace other whitepspace with commas
echo "COMPO=$(echo ${LH_ARCHIVE_AREAS} | sed -e 's| |,|g')"
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LH_ARCHIVE_AREAS} | sed -e 's| |,|g')"
fi
Thanks.
-- Package-specific info:
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686 (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/bash
Versions of packages live-helper depends on:
ii cdebootstrap 0.5.5 Bootstrap a Debian system
ii debootstrap 1.0.20 Bootstrap a basic Debian system
Versions of packages live-helper recommends:
ii gettext-base 0.17-8 GNU Internationalization utilities
Versions of packages live-helper suggests:
pn dosfstools <none> (no description available)
ii fakeroot 1.14.4-1 Gives a fake root environment
ii genisoimage 9:1.1.9-1 Creates ISO-9660 CD-ROM filesystem
pn memtest86+ | memt <none> (no description available)
pn mtools <none> (no description available)
ii parted 1.8.8.git.2009.07.19-5 The GNU Parted disk partition resi
pn squashfs-tools | <none> (no description available)
ii sudo 1.7.2p1-1 Provide limited super user privile
pn syslinux | grub <none> (no description available)
pn uuid-runtime <none> (no description available)
pn win32-loader <none> (no description available)
-- no debconf information
--- End Message ---