Bug#444985: live-helper: lh_build installs kernel amd64 kernel even with option -a i386

2007-11-11 Thread Daniel Baumann
Sorry for taking so long for this actually trivial thing..

..but now it is fixed in git, and will be soon uploaded to sid.

Regards,
Daniel

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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#444985: live-helper: lh_build installs kernel amd64 kernel even with option -a i386

2007-10-02 Thread Daniel Baumann
Yves Combe wrote:
 $ grep -r LH_ARCH config/
 config/bootstrap:# $LH_ARCHITECTURE: select chroot architecture
 config/bootstrap:LH_ARCHITECTURE=i386

what is the value for LH_LINUX_FLAVOURS?

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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#444985: live-helper: lh_build installs kernel amd64 kernel even with option -a i386

2007-10-02 Thread Daniel Baumann
[EMAIL PROTECTED] wrote:
 config/chroot:LH_LINUX_FLAVOURS=amd64

so that's why ;)

 lh_config should default this variable in concordance with -a option.

defaults are only set, if the variable is empty (so, in order words,
defaults for this variable are already aware of -a).

what you (seem to) imply is, that lh should /alter/ your existing
config, which is in this case not possible: it is completely sane to
want a i386 system with an amd64-capable kernel (think of e.g. a rescue
system for both amd64 and i386 systems).

i think we can close the bug now?

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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#444985: live-helper: lh_build installs kernel amd64 kernel even with option -a i386

2007-10-02 Thread Yves Combe
Package: live-helper
Version: 1.0~a29-1
Severity: important

i have generated an i386 image on an x86_64 machine. 
Installed kernel is 64 bits one, rendering iso unusable in most cases.

$ grep -r LH_ARCH config/
config/bootstrap:# $LH_ARCHITECTURE: select chroot architecture
config/bootstrap:LH_ARCHITECTURE=i386
$ ls chroot/boot/
config-2.6.18-5-amd64  System.map-2.6.18-5-amd64
initrd.img-2.6.18-5-amd64  vmlinuz-2.6.18-5-amd64

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

live-helper recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#444985: live-helper: lh_build installs kernel amd64 kernel even with option -a i386

2007-10-02 Thread yves
 Yves Combe wrote:
 $ grep -r LH_ARCH config/
 config/bootstrap:# $LH_ARCHITECTURE: select chroot architecture
 config/bootstrap:LH_ARCHITECTURE=i386

 what is the value for LH_LINUX_FLAVOURS?

config/chroot:# $LH_LINUX_FLAVOURS: set kernel flavour to use
config/chroot:LH_LINUX_FLAVOURS=amd64

lh_config should default this variable in concordance with -a option.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#444985: live-helper: lh_build installs kernel amd64 kernel even with option -a i386

2007-10-02 Thread yves
 [EMAIL PROTECTED] wrote:
 config/chroot:LH_LINUX_FLAVOURS=amd64

 so that's why ;)

 lh_config should default this variable in concordance with -a option.

 defaults are only set, if the variable is empty (so, in order words,
 defaults for this variable are already aware of -a).

Looks like not. I have just done
lh_config -a i386 -d etch -p minimal

that means (i understand it like that):
I want a i386 livecd with minimal debian.

but lh_config did a i386 livecd with x86_64 kernel.

in other words, lh_config populate LH_LINUX_FLAVOURS with my running
kernel, even if i ask for an i386 architecture. For me it's a bug. As
default (without -k option) the selected kernel should match architecture.


 i think we can close the bug now?
I don't think so, but you are the maintener.

-- 
yves




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#444985: live-helper: lh_build installs kernel amd64 kernel even with option -a i386

2007-10-02 Thread Mr Alk3
Yves,

I found that the best way to build a Debian live cd for a specific system,
is to use Qemu (or another virtual machine software) and set the
architecture in Qemu for that specific live cd build.  Then, install a
system that has the kernel version that you will use on the live cd.  This
way you can build images for the different architectures on the same
machine.  Just know you have to have a lot of RAM on your host machine.  I
have 2GB so this solution works fine in my case.

This isn't a bug.  You cannot use a chroot environment and have APT know
about it to install a different kernel from what is on the machine.   In
other words, if you drop into an interactive shell during the live build and
type 'uname -a', it is the same as the outside of the chroot.  APT doesn't
know the difference.  (Or am I wrong?)

-Brent Earl

On 10/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

  [EMAIL PROTECTED] wrote:
  config/chroot:LH_LINUX_FLAVOURS=amd64
 
  so that's why ;)
 
  lh_config should default this variable in concordance with -a option.
 
  defaults are only set, if the variable is empty (so, in order words,
  defaults for this variable are already aware of -a).

 Looks like not. I have just done
 lh_config -a i386 -d etch -p minimal

 that means (i understand it like that):
 I want a i386 livecd with minimal debian.

 but lh_config did a i386 livecd with x86_64 kernel.

 in other words, lh_config populate LH_LINUX_FLAVOURS with my running
 kernel, even if i ask for an i386 architecture. For me it's a bug. As
 default (without -k option) the selected kernel should match architecture.

 
  i think we can close the bug now?
 I don't think so, but you are the maintener.

 --
 yves





 ___
 debian-live-devel mailing list
 [EMAIL PROTECTED]
 http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel



Bug#444985: live-helper: lh_build installs kernel amd64 kernel even with option -a i386

2007-10-02 Thread Daniel Baumann
[EMAIL PROTECTED] wrote:
 in other words, lh_config populate LH_LINUX_FLAVOURS with my running
 kernel, even if i ask for an i386 architecture. For me it's a bug. As
 default (without -k option) the selected kernel should match architecture.

yes, that's a bug. let's persuade that ben sents a patch :)

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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]