Debian Bug report logs - #490290
live-helper: Could handle empty LH_LINUX_PACKAGES more gracefully

version graph

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

Reported by: Cyril Brulebois <cyril.brulebois@kerlabs.com>

Date: Fri, 11 Jul 2008 10:12:04 UTC

Severity: minor

Found in version live-helper/1.0~a47-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, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#490290; Package live-helper. Full text and rfc822 format available.

Acknowledgement sent to Cyril Brulebois <cyril.brulebois@kerlabs.com>:
New Bug report received and forwarded. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

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

From: Cyril Brulebois <cyril.brulebois@kerlabs.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-helper: Could handle empty LH_LINUX_PACKAGES more gracefully
Date: Fri, 11 Jul 2008 12:07:50 +0200
[Message part 1 (text/plain, inline)]
Package: live-helper
Version: 1.0~a47-1
Severity: minor

Hi,

currently, if one tries and sets LH_LINUX_PACKAGES to the empty string,
it ends up with the following:
| P: Being installing packages...
| [apt output]
| E: Regex compilation error - Invalid preceding regular expression

I first tried to workaround this with the attached patch, but it looks
the “offending” code is rather in functions/defaults.sh, under “# Set
linux packages”, since the following ends up in the package list:
| [chroot/root/chroot_packages]
| linux-image-2.6-486
| ${LH_UNION_FILESYSTEM}-modules-2.6-486
| # and much more

Looks like we're back to an interpolation problem. ;-)

Cheers,

--
Cyril Brulebois
[0001-Try-and-fix-LH_LINUX_PACKAGES-gracefully.patch (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#490290; Package live-helper. Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: 490290@bugs.debian.org, Cyril Brulebois <cyril.brulebois@kerlabs.com>
Subject: Re: Could handle empty LH_LINUX_PACKAGES more gracefully
Date: Tue, 15 Jul 2008 10:51:14 +0200
Hi,

to my understanding, it can never happen that a variable is indeed
empty. Each helper, after having read in the config files, calls
Set_defaults(); which fills in a default value for any variable that is
empty.

Regards,
Daniel

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




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live-maint@lists.alioth.debian.org>:
Bug#490290; Package live-helper. Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live-maint@lists.alioth.debian.org>. Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: 490290@bugs.debian.org, 490290-submitter@bugs.debian.org
Subject: Re: live-helper: Could handle empty LH_LINUX_PACKAGES more gracefully
Date: Mon, 25 Aug 2008 11:52:32 +0200
Hi,

could you please elaborate how you constructed a situation where you got
empty LH_LINUX_PACAKGES? As said, this is seems impossible to me, since
by default lh sets values for empty variables automatically. Otherwise,
I intend to close the bug report.

Regards,
Daniel

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




Message sent on to Cyril Brulebois <cyril.brulebois@kerlabs.com>:
Bug#490290. Full text and rfc822 format available.

Reply sent to daniel@debian.org:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Cyril Brulebois <cyril.brulebois@kerlabs.com>:
Bug acknowledged by developer. Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: 490290-done@bugs.debian.org, 490290-submitter@bugs.debian.org
Subject: Re: live-helper: Could handle empty LH_LINUX_PACKAGES more gracefully
Date: Thu, 11 Sep 2008 08:27:24 +0200
I'm closing this bug then; you're welcome to reopen with evidence of the
actual bug.

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




Message sent on to Cyril Brulebois <cyril.brulebois@kerlabs.com>:
Bug#490290. Full text and rfc822 format available.

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 09 Oct 2008 07:30:43 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: Wed Apr 16 11:21:12 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.