Re: [PATCH] Add ELF note with Linux version

Bernhard Walle
2007-09-14T07:52:46Z

* Jeremy Fitzhardinge <jeremy@goop.org> [2007-09-13 23:56]:
>
> > I'd like to know a little bit more about why this is needed, how it will be
> > used, etc. And given that this feature is intended to improve life for
> > distributors, it would be nice to get some feedback from the appropriate
> > persons.
>
> Hm, yes. ELF notes don't appear in the bzImage, since it isn't an ELF
> file, so perhaps this doesn't satisfy the requirement. It would help to
> have more detail.

the bzImage already contains the version (and much more, e.g. if the
kernel is relocatable, the command line length it accepts). See
Documentation/i386/boot.txt.

Thanks,
Bernhard