[gobolinux-users] How to update Linux Kernel?

rubisher rubisher at scarlet.be
Mon Jun 11 15:28:51 UTC 2007


Michael,

Michael Homer wrote:
> On 6/10/07, rubisher <rubisher at scarlet.be> wrote:
[snip]

>> Ok just small 'Conflict' warnings:
>>
>> ~]InstallPackage Scripts
> <snip>
>> SymlinkProgram: Conflict: /System/Links/Libraries/python2.3/site-packages/GetAvailable.pyc
>> SymlinkProgram: Conflict: /System/Links/Libraries/python2.3/site-packages/PythonUtils.pyc
>> SymlinkProgram: Conflict: /System/Links/Libraries/python2.3/site-packages/GuessProgramCase.pyc
>> SymlinkProgram: Conflict: /System/Links/Libraries/python2.3/site-packages/FindPackage.pyc
>> SymlinkProgram: Conflict: /System/Links/Libraries/python2.3/site-packages/GuessLatest.pyc
> <snip>
>> So I still have to learn: why conflict and how to fix?
> Use `SymlinkProgram -c overwrite Scripts` to wipe the conflicts. That

Ok done.
I used 'Freshen -U OpenSSH' and seems to work kindly: Glibc and OpenSSL needed upgrade was managed smoothly ;-)

> means that another program has (or has had) files with the same name,

that's what I understood too ;-)

> and you have to choose which to use (in this case, I think some parts
> have been moved from Compile into Scripts, so you can just overwrite
> them).
That's what I have to learn: how to find back which package already supplied it. I will check that later.

>> That said new Scripts help me to install the new kernel 2.6.20.7:
> Good.
[snip]
>> Next steps:
>>         1/ Compile Linux (I already use with success 2.6.21.4 on my debian)
>>         2/ Build a kernel with my own config.
> That shouldn't be a problem, so long as you've upgraded your Compile.
> They're really the same step; Compile Linux will make menuconfig for
> you, 
Yes it did but I am too laisy today to check out all my previous build option, I will continue later ,sorry.

> so you can set it up how you like. It also takes care of
> installing the kernel and modules, so it's pretty simple from there.

I trust you but I need to go in more details how Recipe works:
I would like it works like I use to rebuild my kernel manualy;
some where I created a KBuild dir (e.g. linux-2.6-local_i686 and more if needed)
then set  KBUILD_OUTPUT to point to that dir then I can run classical

make clean ; make oldconfig;

even

make V=1 bzImage 2>&1 | tee /var/log/k-2.6.21.4 # so that I can trace build pb if encountered

the same for modules, ...

This method shows me severall advantages imho:
	1/ the src tree is not anymore populated with binaries and it's so easier to look for something with 'find'
	2/ different .config file are saved in their KBuild dir, so:
		- no risk of mistake when copying config file (in manual operation it happend frequently)
		- you can build several kernel for various config with only one src tree (save space)
		  + in parallel (also with cross-compiler).

The next stuff will be to include a foreign module like CisoVpn...

Thanks again,
	r.

> -Michael
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
> 
> 



More information about the gobolinux-users mailing list