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.>
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.

Source patch for Kernel:

Developer info links:

Question 1 Do I need to copy Linux Kernel(s)
To: ..../home/XXX/src/kernel-default-2.6.24...

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 <
- 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- and

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.

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

< Previous Next >
Follow Ups