LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 07-16-2009, 05:44 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 48
version control system for my kernel compilation


As a part of my job, I have to try different kernel configuration options until I find the correct set of customized options for our hardware.
So for example, let's say I start with 2.6.29 and I would compile at least 12-15 different kernel based on 2.6.29 with different configuration options (no source code changes). I usually append a string to my image name with --append-to-version=test1 so that I can identify them later.

Then let's say 2.6.30 comes and I take my last build of my 2.6.29 kernel and copy it to 2.6.30 and do make oldconfig and form there I again build different kernels with different config option based on 2.6.30. And this process goes on and on.

However, I am looking for some kind tracking system which would track my different configuration options. I know I can manually diff my config files and see what changes I made to the config options but it is not very convenient. Also I would like to add some changelog before I build a new kernel every time. I am not sure if there is something out there which will suit my requirement. Not sure if using "git" would be overkill since it is mainly used for source code changes and allowing 1000s of people to work together.

I am looking for some sort of my own customize method that I can use for my specific tasks.

Any ideas?
 
Old 07-17-2009, 01:04 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,457
Blog Entries: 54

Rep: Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897
If it's just the config file then you don't need GIT, SVN or CVS as RCS would do just fine. Just gotta have the discipline to make commit notes.
 
Old 07-22-2009, 05:23 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by unSpawn View Post
If it's just the config file then you don't need GIT, SVN or CVS as RCS would do just fine. Just gotta have the discipline to make commit notes.

That's what I thought so. But just wanted to get some idea if any one else knows if such a tool exits or is required.

Thank you for your answers.
 
Old 08-03-2009, 04:24 PM   #4
titetanium
Member
 
Registered: Mar 2004
Distribution: debian testing/unstable
Posts: 68

Rep: Reputation: 16
Hi,

Perhaps you can try this for versioning control?

Personally, I just create and name a directory with the revision number different from the source directory. Then I run
Code:
lndir -silent -ignorelinks
against the source directory so that any changes done in the current directory doesn't affect the original source directory. Would that help?

Last edited by titetanium; 08-03-2009 at 04:29 PM.
 
Old 08-03-2009, 05:37 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,457
Blog Entries: 54

Rep: Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897
I'm not the OP but RCS at least takes care of that part of "managing stuff" and for instance allows you to add notes so you can "rlog" and read back the changelog...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GIT Version Control System - need help getting started HelpMe2877 Linux - Server 2 07-01-2008 03:08 PM
Installing CVS (Version control system) L1nuxbug Linux - Software 4 02-28-2007 12:46 AM
kernel version mixup for driver compilation takatam Mandriva 3 01-17-2005 04:48 AM
Looking for a good web based version control system ChaosX2 Linux - General 5 06-14-2004 12:25 PM
GCC version in kernel compilation Alpha_Beta Linux - Newbie 3 09-29-2003 11:39 PM


All times are GMT -5. The time now is 09:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration