tar.gz installation
John Summerfield
debian at herakles.homelinux.org
Sun May 24 10:07:21 UTC 2009
Pablo Bernasconi wrote:
> So I have to do an rpm with the tar.gz inside, but the only thing that the
> rpm has to do is to uncompress the tar.gz to a local directory, and then in
> the post script I do:
>
> ./configure
> make
> make install
> etc
>
> ????
>
> This is the "nice" way??
No,
The proper way is to get all the files under rpm management. To do that,
you build once (for each architecture), then install the rpm.
The best way to build it is to use the rpmbuild command. For a
reasonably simple example to follow, download the fetchmail source rpm
and learn how that's built.
By creating an rpm, you avoid the need to have all the build tools and
libraries installed on each target machine, and save the time it takes
to build it each time.
Since you're using kickstart, I expect you have a reasonable number to
install.
If you don't want to rejig the install media (I wouldn't), then
installing the rpm in the kickstart %post section is reasonable.
--
Cheers
John
-- spambait
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
More information about the Kickstart-list
mailing list