Re: .version keeps being updated

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

 



Andrew Morton wrote:
On Tue, 9 Jan 2007 15:21:51 -0800 (PST)
Linus Torvalds <[email protected]> wrote:


On Tue, 9 Jan 2007, Andrew Morton wrote:
This new behavior of the kernel build system is likely to
make developers angry pretty quickly.
That might motivate them to fix it ;)
Actually, how about just removing the incrementing version count entirely?

I use it pretty commonly to answer the question "did I remember to install
that new kernel I just built before I rebooted"?  By comparing `uname -a'
with $TOPDIR/.version.

Yup, we need to do the same thing in automated testing. Especially when
you're doing lilo -R, and don't know if you ended up fscking or panicing
during attempted reboot to new kernel.

Better would be a checksum of the vmlinux vs the running kernel text,
but that seems to be impossible due to code rewriting. Could we embed
a checksum in a little /proc file for this?

M.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux