-----BEGIN PGP SIGNED MESSAGE-----
On 08/17/2010 11:49 AM, doiggl(a)velocitynet.com.au wrote:
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
The patch doesn't actually have to be bzipped, but that's not really
5. Use the script apply-patches  to apply the patch
into the kernel
6. Some how copy in a reiser4 enabled .config file to /usr/src/linux
The kernel isn't built from /usr/src/linux. It's built in the rpm build
dir, so you can just patch your config changes in there. patches.addon
is only added when flavor != vanilla but config.addon is used always.
You can create config.addon/$ARCH/vanilla files, tar them up, and it
should just work.
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 ?
It should work, but if I were you, I'd just cheat. Create the
patches.addon.tar.bz2 archive but don't actually have it contain
patches.addon. Just have it contain patches.rpmify/reiser4-for-2.6.35
and then add it to series.conf. patches.kernel.org
are applied to the vanilla kernel too.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-kernel+help(a)opensuse.org