hi.. I guess my question was unclear enough. I want to build binary kernel rpm for executable kernel, not for the source. So I can upgrade kernel by installing this new kernel rpm on another machine. Thanks Jason On Tue, 2004-01-27 at 20:31, Curtis Rey wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday 27 January 2004 16:03, Jason Kim wrote:
Hello..
I'm trying to figure out how to build a binary kernel RPM in Suse, so I want to use this new binary RPM on another machines instead of re-compiling for every machine. (of course in same type) ( It looks like I need to use kernel-source.src.rpm and k_*.src.rpm..)
I'm familiar with how Red Hat does for binary kernel RPMs, and I have not yet figured out the way in SuSE.
Is there are any document for this stuff? ( It's not easy to find the right information :-( )
- jason
Try "rpmbuild --rebuild <target.src.rpm file>
#man rpmbuild
RPMBUILD(8) Red Hat Linux RPMBUILD(8)
NAME rpmbuild - Build RPM Package(s)
SYNOPSIS BUILDING PACKAGES: rpmbuild {-ba|-bb|-bp|-bc|-bi|-bl|-bs} [rpmbuild-options] SPECFILE ...
rpmbuild {-ta|-tb|-tp|-tc|-ti|-tl|-ts} [rpmbuild-options] TARBALL ...
rpmbuild {--rebuild|--recompile} SOURCEPKG ...
MISCELLANEOUS: rpmbuild --showrc
rpmbuild-options [--buildroot DIRECTORY] [--clean] [--nobuild] [--rmsource] [--rmspec] [--short-circuit] [--sign] [--target PLATFORM]
DESCRIPTION rpmbuild is used to build both binary and source software packages. A package consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. Packages come in two varieties:binary packages, used to encapsulate software to be installed, and source packages, containing the source code and recipe necessary to produce binary packages.
One of the following basic modes must be selected: Build Package, Build Package from Tarball, Recompile Package, Show Configuration.
<SNIP>
HTH, Curtis. - -- Spammers Beware: Tresspassers will be shot, survivors will be shot again!
Warning: Individuals throwing objects at the crocodiles will be asked to retrieve them!
If pro is the opposite of con, then the opposite of progress must be congress! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAFyz6N9r/ngHXpykRAiZAAKC52aqp4jD2uCi4Yd7MAWgPfhJlVgCfZSnj e6Z7dYyS1nT2jv6XJfxKz1k= =AHFw -----END PGP SIGNATURE-----