Kernel Version Control

2007-12-25 7:28:00

The original problem was being able to:

1) Identify the version of the kernel configuration file used.

2) Identify the patched kernel objects.

I ended up using a combination of RCS and GNU diff to record revisions,

but most of the work was in modifcations to:

/usr/kvm/sys/conf.common/newvers.sh and

/usr/kvm/sys/sun4c/conf/Makefile.src

The first was modified to generate a bogus C data structure containing

RCS-like identification strings to show the patched objects. This idea

and sed script was donated kindly by byron@archone.tamu.edu (Byron

Rakitzis).

The second was modified slightly to remove the version, and vers.*

files from the build directory so that newvers.sh would always generate

correct and up-to-date information.

Mostly, the changes were procedurally (is that a word?). Good software

maintenance practices to install revision control strings in the kernel

configurations, etc.

If you want more details, please feel free to send mail to me... And

many thanks to those that replied with suggestions.

Micky Liu

micky@cunixf.cc.columbia.edu

Comments

Got something to say?

You must be logged in to post a comment.