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

Re: base-installer smarter kernel selection



On Thu, Feb 12, 2004 at 03:38:35PM -0600, Stephen R Marenka wrote:
> I just applied the following patch to base-installer. 
> 
> Former behavior:
> 
> 	get_arch_kernel returns kernel-image-2.2.25-mac
> 
> This still works like normal, all available kernels are shown and the
> arch_kernel is default.
> 
> New optional behavior:
> 
> 	get_arch_kernel returns mac
> 
> Now the list of available kernels is reduced to those that have mac in
> them. Mac subarch users don't need to see vme kernels.

What about chrp and chrp-rs6k on powerpc ? chrp users don't really want
to see the chrp-rs6k variant, as it will not work for them.

I understand your interest in selecting a range of kernels, but this
sounds like a hacky way to achieve that. It would be better to notice
that a kernel is composed of :

  kernel-image (common part)
  -
  2.4.22 (version number)
  -
  powerpc (build configuration or flavour)
  -
  chrp (powerpc subarch boot-loader format)

And do some parsing to detect the version/flavours, which can be
intercheangeable, while the subarch flavor is determined by hardware
detection. 

BTW, who broke the unstable base/kernel-installer ? It defaults to
installing the apus kernel on chrp_pegasos, while it worked well a bit
over a week ago.

Friendly,

Sven Luther



Reply to: