Re: Building Fedora Legacy 2.4.20-43.7 for RH7.3 from sources.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frank Hamersley wrote:

| Thanks for the prompt reply Alexander ....
|
|> -----Original Message----- From:
|> fedora-legacy-list-bounces@xxxxxxxxxx
|> [mailto:fedora-legacy-list-bounces@xxxxxxxxxx]On Behalf Of
|> Alexander Dalloz Sent: Friday, 5 August 2005 12:29 AM To:
|> Discussion of the Fedora Legacy Project Subject: Re: Building
|> Fedora Legacy 2.4.20-43.7 for RH7.3 from sources.
|>
|> Am Do, den 04.08.2005 schrieb Frank Hamersley um 16:22:
|>
|>> Can anyone point me to a useful howto on building the
|>
|> latest Fedora RH73
|>
|>> legacy kernel from source?
|>
|> Could you be specific about what you want to do differently than
|> the FLP package does for the resulting kernel rpm? There must be
|> a reason to compile your own, but with the legacy kernel source.
|
|
| Partially a learning exercise, but mostly I want to freshen my
| iptables to the latest stable and decided that I should go all the
| way through from first principles ie. starting with the kernel.
|
|>> I have installed the src rpm (2.4.20-43.7) and unpacked the
|>
|> .tar.bz2 file.
|>
|>> However I am confused about how to apply the .patch files
|>
|> (as they do not
|>
|>> seem to be applied to the source).
|>
|>> Can anyone provide enlightenment?  Cheers, Frank.
|>
|> Use the spec file which is located in SPECS. "rpmbuild --help" ->
|>
|>
|> -bp                           build through %prep (unpack sources
|> and apply patches) from <specfile>
|
|
| Just about to hit the sack here (12:41 AM Sydney).  Will look at
| this tomorrow...but did not notice any SPECS directory after
| installing the rpm. Will check again in daylight.
|
| Cheers, Frank.
|
|
| --  fedora-legacy-list@xxxxxxxxxx
| http://www.redhat.com/mailman/listinfo/fedora-legacy-list
|
Frank,

(1)  Because you said you unpacked the .tar.bz2 file.  We can safely
assume you have the .src.rpm file was what you have.
(2)  Check for the files in /usr/src/redhat....  You should see
directories:
~    (a)  BUILD ... where the RPM builder unpacks the source to and
applies patches to.
~    (b) SOURCES ...  where the RPM builder gets the sources / patches
/ etc for the build process.
~    (c) SPECS ... where the RPM builder gets the spec files for
building the package.

NOTE:
~    The kernel package is not the easiest package to tackle your first
time.  It may be better to build from the sources in
/usr/src/linux-2.4 directory first.  If you updated the
kernel-sources-*.rpm file then you have the latest patched kernel
sources there.
~    Be careful, especially with the kernel.  You can really cause
problems if you don't know what you are doing.
~    First, read the documentation for the latest release of
iptables...  Look for dependencies on a specific kernel version or
iptables modules.
~    Next, compare the source for the iptables modules with the patched
sources for the 7.3 kernel and be sure you will not be breaking anything.
~    Next, try the patches you create on the /usr/src/linux-2.4 kernel
directory by building a custom kernel you can boot from and try....
carefully.


Good Luck,
James Kosin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC8jLkkNLDmnu1kSkRApnoAJ0SCEWiLl2cuHt3IUfHMLPGd1mtcACePq60
upRSVzrrZhWUKEzhW+sjWnQ=
=zFkJ
-----END PGP SIGNATURE-----

--

fedora-legacy-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-legacy-list

[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux