On Thu, 2017-03-30 at 23:52 +0200, John Paul Adrian Glaubitz wrote:
> On 03/30/2017 11:43 PM, Ben Hutchings wrote:
> > > Could you give me a quick heads-up how you would like the code to
> > > be changed? I would assume that running "mkvmlinuz" is still
> > > required for booting from
> > > Open Firmware, isn't it?
> >
> > I think so - though I've never used it myself.
>
> Ok, I'll do some more research then to make sure I fully understand
> the code.
>
> > > I'm happy to make the requested changes, also in the powerpc
> > > code, but I'm not 100% sure what you want me to change.
> >
> > Delete all the checks for Linux "2.6" and the related assignments.
>
> Ok. Btw, is there a reason why build/config/*.cfg still sets
> KERNELMAJOR = 2.6 for all architectures? Is that still being used
> somewhere?
build/Makefile passes it to build/util/pkg-list. It appears to be
possible to restrict packages listed in build/pkg-lists to particular
kernel major version by putting that at the end of the line:
if ($line=~s/^(.*) \[([0-9. ]+)\]$/$1/) {
my %kernels=();
$kernels{$_} = 1 foreach split ' ', $2;
return unless $kernels{$kernel_major};
}
but none of the lists do so any more.
So to get rid of KERNELMAJOR you would first need to delete this
feature and parameter from build/util/pkg-list, and check that it
behaves the same with current package lists.
Ben.
--
Ben Hutchings
In a hierarchy, every employee tends to rise to his level of
incompetence.
Attachment:
signature.asc
Description: This is a digitally signed message part