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

Bug#573173: live-helper: cannot build live image with three kernels




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



Reply to: