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

Bug#559430: marked as done (live-helper: Generation fail if categories != "main")



Your message dated Fri, 04 Dec 2009 13:56:08 +0100
with message-id <4B1906E8.8070302@debian.org>
and subject line Re: Bug#559430: live-helper: Generation fail if categories != "main"
has caused the Debian Bug report #559430,
regarding live-helper: Generation fail if categories != "main"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
559430: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559430
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- 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 ---
--- Begin Message ---
Version: 2.0~a1-1

bug not present in sid, closing.

--
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


--- End Message ---

Reply to: