Debian Bug report logs - #559430
live-helper: Generation fail if categories != "main"

version graph

Package: live-helper; Maintainer for live-helper is Debian Live Project <debian-live@lists.debian.org>;

Reported by: Tobias Diaz <tobias.deb@gmail.com>

Date: Fri, 4 Dec 2009 11:06:02 UTC

Severity: important

Tags: patch

Found in version live-helper/1.0.6-2

Fixed in version 2.0~a1-1

Done: Daniel Baumann <daniel@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, tobias.deb@gmail.com, Debian Live <debian-live@lists.debian.org>:
Bug#559430; Package live-helper. (Fri, 04 Dec 2009 11:06:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Diaz <tobias.deb@gmail.com>:
New Bug report received and forwarded. Copy sent to tobias.deb@gmail.com, Debian Live <debian-live@lists.debian.org>. (Fri, 04 Dec 2009 11:06:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Tobias Diaz <tobias.deb@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-helper: Generation fail if categories != "main"
Date: Fri, 04 Dec 2009 12:08:27 +0100
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




Reply sent to daniel@debian.org:
You have taken responsibility. (Fri, 04 Dec 2009 13:03:06 GMT) Full text and rfc822 format available.

Notification sent to Tobias Diaz <tobias.deb@gmail.com>:
Bug acknowledged by developer. (Fri, 04 Dec 2009 13:03:07 GMT) Full text and rfc822 format available.

Message #10 received at 559430-done@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: Tobias Diaz <tobias.deb@gmail.com>, 559430-done@bugs.debian.org
Subject: Re: Bug#559430: live-helper: Generation fail if categories != "main"
Date: Fri, 04 Dec 2009 13:56:08 +0100
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/




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 08 Jan 2010 07:30:45 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 08:04:24 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.