It seems that the /proc/version_signature support in Jaunty was miss-merged.
A significant rejig of the fs/proc support has occured and we need to
redo this support basically. The patch below looks like it would do the
job, though I have only compile tested it at this time. This applies once
the miss-merge is reverted, commit 20391c6e76c6992bdb7027f8b6bdbe35845e909a.
which is done within the script "scripts/setlocalversion".)
+config VERSION_SIGNATURE
+ string "Arbitrary version signature"
+ help
+ This string will be created in a file, /proc/version_signature. It
+ is useful in determining arbitrary data about your kernel. For instance,
+ if you have several kernels of the same version, but need to keep track
+ of a revision of the same kernel, but not affect it's ability to load
+ compatible modules, this is the easiest way to do that.
+
config SWAP
bool "Support for paging of anonymous memory (swap)"
depends on MMU && BLOCK
diff --git a/init/version.c b/init/version.c
index 52a8b98..9c8a867 100644
--- a/init/version.c
+++ b/init/version.c
@@ -39,7 +39,11 @@ EXPORT_SYMBOL_GPL(init_uts_ns);
/* FIXED STRINGS! Don't touch! */
const char linux_banner[] =
"Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
- LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "
";
+ LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION
+#ifdef CONFIG_VERSION_SIGNATURE
+ " (" CONFIG_VERSION_SIGNATURE ")"
+#endif
+ "
";
const char linux_proc_banner[] =
"%s version %s"
--
1.6.0.4.911.gc990
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team