lkml.org 
[lkml]   [2003]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel Compiling using "make rpm" question PLEASE!!
imunity@softhome.net wrote:

>
> Still trying to figure out how to use "rpmbuild -bb"


What you need for that is a rpm spec file. Grab a kernel.src.rpm from
a distribution. Install it, and cd to /us/src/redhat (other distros may
have a different name in /usr./src). Now the sources, and patches
should be in SOURCE, and the spec file in SPEC. Now you can modify/add
the source/patches, and the spec. To create rpms you run "rpm -bb <spec
file>". Of course to get the i686 rpms you want you need to add
"--target i686".

Keep in mind this involves a lot of rpm spec file black magic. Also
most of time you will end up with at least 3 kernel rpms via this
method. You really don't want to do this unless you need to roll your
own custom releases of a distro for some reason.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.019 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site