Debian Bug report logs - #573173
support for multiple kernel versions in binary

version graph

Package: live-build; Maintainer for live-build is Live Systems Maintainers <debian-live@lists.debian.org>; Source for live-build is src:live-build.

Reported by: Michal Suchanek <michal.suchanek@ruk.cuni.cz>

Date: Tue, 9 Mar 2010 15:36:02 UTC

Severity: wishlist

Tags: patch

Merged with 704571

Found in version live-build/3.0.1-1

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, hramrach@centrum.cz, Debian Live <debian-live@lists.debian.org>:
Bug#573173; Package live-helper. (Tue, 09 Mar 2010 15:36:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michal Suchanek <michal.suchanek@ruk.cuni.cz>:
New Bug report received and forwarded. Copy sent to hramrach@centrum.cz, Debian Live <debian-live@lists.debian.org>. (Tue, 09 Mar 2010 15:36:05 GMT) Full text and rfc822 format available.

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

From: Michal Suchanek <michal.suchanek@ruk.cuni.cz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-helper: cannot build live image with three kernels
Date: Tue, 09 Mar 2010 16:22:08 +0100
Package: live-helper
Version: 2.0~a8-1
Severity: normal


P: Begin installing syslinux...
basename: extra operand `chroot/boot/vmlinuz-2.6.33-2-686'
Try `basename --help' for more information.



-- Package-specific info:

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages live-helper depends on:
ii  debootstrap                 1.0.10lenny1 Bootstrap a basic Debian system

Versions of packages live-helper recommends:
ii  cpio                          2.9-13     GNU cpio -- a program to manage ar
ii  gettext-base                  0.17-4     GNU Internationalization utilities

Versions of packages live-helper suggests:
ii  dosfstools     3.0.1-1                   utilities for making and checking 
ii  fakeroot       1.11                      Gives a fake root environment
ii  genisoimage    9:1.1.10-1                Creates ISO-9660 CD-ROM filesystem
ii  grub           0.97-47lenny2             GRand Unified Bootloader (Legacy v
ii  memtest86      3.5-2.1.nogrub            thorough real-mode memory tester
ii  memtest86+     4.00-2.2                  thorough real-mode memory tester
ii  mtools         3.9.11-1                  Tools for manipulating MSDOS files
ii  parted         1.8.8.git.2008.03.24-11.1 The GNU Parted disk partition resi
ii  squashfs-tools 1:3.3-7                   Tool to create and append to squas
ii  syslinux       2:3.85+dfsg-1             utilities for the syslinux bootloa
pn  uuid-runtime   <none>                    (no description available)
pn  win32-loader   <none>                    (no description available)

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live@lists.debian.org>:
Bug#573173; Package live-helper. (Fri, 12 Mar 2010 06:57:03 GMT) 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@lists.debian.org>. (Fri, 12 Mar 2010 06:57:03 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: 573173-submitter@bugs.debian.org
Cc: 573173@bugs.debian.org
Subject: Re: live-helper: cannot build live image with three kernels
Date: Fri, 12 Mar 2010 07:51:27 +0100
retitle 573173 ignores images when including more than two kernels
thanks

it doesn't fail for me when including e.g. 486, 686, and 686-bigmem, but 
it always only includes the last two kernels in the bootloader configs.

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




Changed Bug title to 'ignores images when including more than two kernels' from 'live-helper: cannot build live image with three kernels' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Fri, 12 Mar 2010 06:57:05 GMT) Full text and rfc822 format available.

Message sent on to Michal Suchanek <michal.suchanek@ruk.cuni.cz>:
Bug#573173. (Fri, 12 Mar 2010 06:57:07 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live@lists.debian.org>:
Bug#573173; Package live-helper. (Fri, 12 Mar 2010 12:57:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michal Suchanek <michal.suchanek@ruk.cuni.cz>:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live@lists.debian.org>. (Fri, 12 Mar 2010 12:57:06 GMT) Full text and rfc822 format available.

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

From: Michal Suchanek <michal.suchanek@ruk.cuni.cz>
To: "573173@bugs.debian.org" <573173@bugs.debian.org>
Subject: Re: Bug#573173: live-helper: cannot build live image with three kernels
Date: Fri, 12 Mar 2010 13:53:48 +0100
On 03/12/2010 07:51 AM, Daniel Baumann wrote:
> retitle 573173 ignores images when including more than two kernels
> thanks
>
> it doesn't fail for me when including e.g. 486, 686, and 686-bigmem, but
> it always only includes the last two kernels in the bootloader configs.
>
>
>    

For me it fails when including 2.6.32-trunk-686 2.6.32-3-686 and 
2.6.33-2-686.

The problem is in lines like this in binary_syslinux:

DEFAULT_KERNEL="$(basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR})"

the * expands to 3 files and basename fails.

with only two kernels of the same flavour the second is ignored by basename.

Thanks

Michal




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live@lists.debian.org>:
Bug#573173; Package live-helper. (Fri, 12 Mar 2010 13:33:03 GMT) 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@lists.debian.org>. (Fri, 12 Mar 2010 13:33:03 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: Michal Suchanek <michal.suchanek@ruk.cuni.cz>
Cc: 573173@bugs.debian.org
Subject: Re: Bug#573173: live-helper: cannot build live image with three kernels
Date: Fri, 12 Mar 2010 14:27:59 +0100
On 03/12/2010 01:53 PM, Michal Suchanek wrote:
> For me it fails when including 2.6.32-trunk-686 2.6.32-3-686 and
> 2.6.33-2-686.

ah, you're even including more than one kernel version. naturally that 
fails (hasn't been a use case uptil now :). anyhow, i'll fix it soon.

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




Bug reassigned from package 'live-helper' to 'live-build'. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Tue, 27 Jul 2010 14:45:09 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions live-helper/2.0~a8-1. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Tue, 27 Jul 2010 14:45:10 GMT) Full text and rfc822 format available.

Changed Bug title to 'support for multiple kernel versions in binary' from 'ignores images when including more than two kernels' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Thu, 16 Sep 2010 19:06:09 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Thu, 16 Sep 2010 19:06:09 GMT) Full text and rfc822 format available.

Marked as found in versions live-build/3.0.1-1. Request was from Daniel Baumann <daniel.baumann@progress-technologies.net> to control@bugs.debian.org. (Wed, 03 Apr 2013 05:42:09 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Daniel Baumann <daniel.baumann@progress-technologies.net> to control@bugs.debian.org. (Wed, 03 Apr 2013 05:42:09 GMT) Full text and rfc822 format available.

Merged 573173 704571 Request was from Daniel Baumann <daniel.baumann@progress-technologies.net> to control@bugs.debian.org. (Wed, 03 Apr 2013 05:42:10 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: Thu Apr 17 12:44:05 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.