Mailinglist Archive: opensuse-kernel (81 mails)

< Previous Next >
[opensuse-kernel] Need help with a kernel .spec file - its for building a patched kernel
  • From: doiggl@xxxxxxxxxxxxxxxxxx
  • Date: Fri, 29 Feb 2008 00:12:52 +1100 (EST)
  • Message-id: <19144.202.168.22.19.1204204372.squirrel@xxxxxxxxxxxxxxxxxxxxxxx>
Hello,

Can you provide me with a .spec file I can use in the Opensuse Build
Service to do the following things:

- To build a customised, patched kernel in a installable rpm [i586 &
x86_64] formats.

I ask because I want to build the package properly. And I do not have
advanced experience to build the .spec file myself.
Could you provide me with a .spec file to handle the following items:

Sources used:
-------------
linux-2.6.24.3.tar.bz2
[file copied into home/userid/source/linux-2.6.24.3.tar.bz2]

reiser4-for-2.6.24.patch
[file copied into home/userid/source/reiser4-for-2.6.24.patch]

.config [file copied into home/userid/source/.config]
[This has the selected customised kernel configuration options on the
following]
["append to kernel release" e.g -default-reiser4 and [File systems /
Reiser4 (EXPERIMENTAL)]]


Things to do:
-------------
- Unpack the kernel source [home/userid/source/linux-2.6.24.3.tar.bz2]

- Copy in a .config into the unpacked kernel either a i586 or x86_64
.config file from [home/userid/source/.config] so it will compile.

- Apply patch to the unpacked kernel source
[patch -p1 < home/userid/source/reiser4-for-2.6.24.patch]

- Make installable rpm [i586 & x86_64] formats.

- cleanup temporary files

I know its a big learning experience for me, and I would like to
contribute in some way.
Thankyou for your help and time.
Glenn

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

< Previous Next >
Follow Ups