Results 1 to 3 of 3
hi
consider , i have made a change in the kernel and compiled...
so there is soem changes in the new kernel to the old one.
Is there any method ...
- 01-06-2005 #1Just Joined!
- Join Date
- Dec 2004
- Posts
- 7
Is there any way to patch the kernel. ???
hi
consider , i have made a change in the kernel and compiled...
so there is soem changes in the new kernel to the old one.
Is there any method to produce a patch that simply change the corresponding bytes changed so that we can convert the old kernel to new, with our recompiling the code ???
thanx in advance
- 01-06-2005 #2
Not that I know of, unless you wrote a whole module. Which would still have to be compiled.
The thing is if you change the source, it needs to be re-compiled so you have a binary executable.
Not sure if this is exactly what you were asking about.Me & Myself just ganged up on I....... Now We all have problems..and none of Us are speaking!
bash-3.00$ uname -a
SunOS sparky 5.11 OpenSolaris-swa sun4u sparc SUNW,Ultra-Enterprise
- 01-16-2005 #3Just Joined!
- Join Date
- Dec 2004
- Posts
- 7
I got the answer
Ya you are right, i hav to compile the source again and i should provide a patch that allow others to compile according to their choice...thanx for ur reply..
i got the answer in detail... anyway im appending that here..
===========
Create a compressed patch file for your modified kernel source tree with the diff and bzip utilities
cd /usr/src
diff --unified --recursive --new-file linux-2.4.22-6mdk linux > yourpatch-2.4.22-6mdk
gzip yourpatch-2.4.22-6mdk
Apply a Patch
cd /usr/src
zcat yourpatch-2.4.22-6mdk.gz | patch -p0 -E
================
For more information visit : http://www.aerospacesoftware.com/ker...ile-howto.html


Reply With Quote
