Mailinglist Archive: opensuse-kernel (87 mails)

< Previous Next >
[opensuse-kernel] building kernel-vanilla with one extra patch.
  • From: <doiggl@xxxxxxxxxxxxxxxxxx>
  • Date: Wed, 18 Aug 2010 01:49:40 +1000
  • Message-id: <afffe6bf782cc33f551e3a8eb394559d@xxxxxxxxxxxxxxxxxxxxxxx>
I have been wondering if this is possible as I was unsuccessful the past
to get a kernel built with the reiser4-for-2.6.35.patch applied.
I am now wondering of this would work ?.

1. Set up a home project called <kernel-vanilla> in my-home-location
2. Link it to the sources of the package kernel-source of project
- Details <link project='Kernel:HEAD' package='kernel-source'
3. copy in to my-home-location:<kernel-vanilla> the file
- I will need to alter it later to add/apply the patch.

4. Add the patch file reiser4-for-2.6.35.patch.bz2 to the project

5. Add/change to lines
Add extra line to .spec file Source121: reiser4-for-2.6.35.patch.bz2

Add to end of setup line -a 121
%setup -q -c -T -a 0 -a 100 -a 101 -a 102 -a 103 -a 104 -a 105 -a 106 -a
107 -a 108 -a 109 -a 110 -a 111 -a 112 -a 113 -a 120

5. Use the script apply-patches [1] to apply the patch into the kernel

6. Some how copy in a reiser4 enabled .config file to /usr/src/linux
7. Build the patched kernel.

The restrictions are these.
- I have to use a vanilla based kernel based on reiser4-for-2.6.35.

What are your thoughts on this approach,would it work, if not what method
would work ?
Ta Glenn

To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups