Skip to contentSkip to conversation

rpm builder of kernel image

DISCUSSION Samuel Maftoul 5 participants 6 messages Nov 29, 2001

lore
Share & tools
lore
#0 lore raw

Hello everyone,
I'm searching for something on Rpm based distributions.
I'm usually using debian and whenever I recompile my kernel I use the make-kpkg buildpackage in the /usr/src/linux directory to have a nice debian pacakge with creates the lilo image (I'm using grub but whatever :) ).
Is there such a tool for redhat based distribution or at least only for the suse (7.2 or 7.3) ?
Thanks for any help.
Sam

#1 lore raw
Quoted 9 lines · In article <[email protected]> you wrote:

Hello everyone,
I'm searching for something on Rpm based distributions.
I'm usually using debian and whenever I recompile my kernel I use the make-kpkg buildpackage in the /usr/src/linux directory to have a nice debian pacakge with creates the lilo image (I'm using grub but whatever :) ).
Is there such a tool for redhat based distribution or at least only for the suse (7.2 or 7.3) ?
Thanks for any help.

You might want to take a look at make-krpm [1], currently I only have support for Caldera and a default target that might work or not work for others. I accept patches..

Christoph

[1] ftp://ftp.openlinux.org/pub/people/hch/make-krpm/

Signature · 1 line
Whip me.  Beat me.  Make me maintain AIX.
#2 lore raw
Quoted 3 lines

You might want to take a look at make-krpm [1], currently I only have support for Caldera and a default target that might work or not work for others. I accept patches..

Or for Linux 2.4.13 or later just type

make config
make rpm

#3 lore raw
In reply to Christoph Hellwig
Quoted 8 lines · Alan Cox
Quoted 3 lines

You might want to take a look at make-krpm [1], currently I only have support for Caldera and a default target that might work or not work for others. I accept patches..

Or for Linux 2.4.13 or later just type

make config
make rpm

Yes, that's even older than my tool. But I don't think we want that infrastructure inside the kernel.

- there are lots of packaging systems
- there even are lots of incompatible rpm versions
- you really want to plug into some vendor-infrastructure, e.g. boot loader configuration
- sooner or later I want to add some system to auto-apply patches (similar to what debian does)

#4 lore raw
Quoted 2 lines

Yes, that's even older than my tool. But I don't think we want that infrastructure inside the kernel.

Oh I think you do.

Quoted 1 line

- there are lots of packaging systems

two in mainstream use. Debian dpkg and RPM.

Quoted 1 line

- there even are lots of incompatible rpm versions

There are some features in the newer RPM. The make rpm target avoids them and sticks to directives present in the LSB specified RPM version.

Quoted 2 lines

- you really want to plug into some vendor-infrastructure, e.g. boot loader configuration

That I do want to improve on. I have some ideas.

Quoted 2 lines

- sooner or later I want to add some system to auto-apply patches (similar to what debian does)

patch < blah
make config
make rpm

Alan

#5 lore raw
In reply to Christoph Hellwig
Quoted 13 lines · Christoph Hellwig
Quoted 8 lines · Alan Cox
Quoted 3 lines

You might want to take a look at make-krpm [1], currently I only have support for Caldera and a default target that might work or not work for others. I accept patches..

Or for Linux 2.4.13 or later just type

make config
make rpm

Yes, that's even older than my tool. But I don't think we want that infrastructure inside the kernel.

Quoted 6 lines

- there are lots of packaging systems
- there even are lots of incompatible rpm versions
- you really want to plug into some vendor-infrastructure, e.g. boot loader configuration
- sooner or later I want to add some system to auto-apply patches (similar to what debian does)

- there are other architectures which have rpm based distros. 'make rpm' is currently x86-only.

This really should be a vendor-provided tool, or at least something provided outside of the kernel by 3rd parties.

Signature · 2 lines
Tom Rini (TR1265)
http://gate.crashing.org/~trini/