2001-11-29 13:34:52

by Samuel Maftoul

[permalink] [raw]
Subject: rpm builder of kernel image

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


2001-11-29 13:59:02

by Christoph Hellwig

[permalink] [raw]
Subject: Re: rpm builder of kernel image

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/
--
Whip me. Beat me. Make me maintain AIX.

2001-11-29 15:12:45

by Alan

[permalink] [raw]
Subject: Re: rpm builder of kernel image

> 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

2001-11-29 15:16:25

by Christoph Hellwig

[permalink] [raw]
Subject: Re: rpm builder of kernel image

On Thu, Nov 29, 2001 at 03:21:00PM +0000, Alan Cox wrote:
> > 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)

2001-11-29 15:25:15

by Alan

[permalink] [raw]
Subject: Re: rpm builder of kernel image

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

> - there are lots of packaging systems

two in mainstream use. Debian dpkg and RPM.

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

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

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

2001-11-29 15:34:05

by Tom Rini

[permalink] [raw]
Subject: Re: rpm builder of kernel image

On Thu, Nov 29, 2001 at 04:15:20PM +0100, Christoph Hellwig wrote:
> On Thu, Nov 29, 2001 at 03:21:00PM +0000, Alan Cox wrote:
> > > 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)
- 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.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/