Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
[opensuse-buildservice] Questions about a .spec file to compile a patched kernel
  • From: doiggl@xxxxxxxxxxxxxxxxxx
  • Date: Tue, 19 Feb 2008 22:33:01 +1100 (EST)
  • Message-id: <27388.202.168.22.19.1203420781.squirrel@xxxxxxxxxxxxxxxxxxxxxxx>
Hello all,
I have a wish to put up into the opensuse build service a rpm (factory)
build of the following application, but I am stuck on constructing a good
.spec file which will apply the patch to the kernel source ,and then
compile it into an installable rpm, and I was wondering if you could help
me with this please.
It will be a steep learning curve for me as I am new to all this.

Application:reiser4-for-2.6.24
Source patch for Kernel:
http://chichkin_i.zelnet.ru/namesys/reiser4-for-2.6.24.patch.gz

Developer info links:
http://marc.info/?l=reiserfs-devel&r=1&w=2
http://www.nabble.com/ReiserFS---General-f1023.html

Question 1 Do I need to copy Linux Kernel(s)
From:
http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_Factory/x86_64/kernel-source-2.6.24.?-??.?.x86_64.rpm
and
http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_Factory/i586/kernel-default-2.6.24.?-??.?.i586.rpm
To: ..../home/XXX/src/kernel-default-2.6.24...

Questions:
2. Do I need a 2 copies of the Kernel Source for each platform (x86_64 &
i586) ?
(eg kernel-source-2.6.24.?-??.?.x86_64.rpm and
kernel-source-2.6.24.?-??.?.i586.rpm )

3. Can someone provide me a .spec and .config file which will do the
following thins:
- Unpack the Kernel Sources (both platforms x86_64 & i586)
- Apply the patch e.g (patch -p1 <
..../home/XXX/src/reiser4-for-2.6.24.patch)
- Copy in a good .config file (Do I need one/where do I copy it to ?)
- make/build the rpm installable binary and patched source code rpm
packages (using make binrpm-pkg ?? )
-
4. Can the make/build process output a output an rpm like
kernel-reiser4-2.6.24.1-76.1.x86_64.rpm and
kernel-reiser4-2.6.24.1-76.1.i586.rpm

5. How do I use the .spec and .config file do I have to upload them
somewhere ?.

6. Finally how and when do I know the build process passed/failed ?
Thankyou for your help.
Glenn.

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

< Previous Next >
Follow Ups