Re: tar.gz installation

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

 



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@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- 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:-)

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux