Custom Installation for multiple machines
Stuart Sears
stuart at sjsears.com
Sun Feb 29 22:00:13 UTC 2004
On Friday 27 February 2004 23:07, Ding Li wrote:
> Hi,
>
> Can I use the post section part in kickstart file to install mplayer? I
> want to
> automatically compile the package. Is it possible?
yes, installing is definitely possible.
Compiling is probably possible (at least as an rpmbuild --rebuild command),
but if it throws up any errors that require human input, could cause your
entire installation to hang (although it shouldn't fail, except for the %post
scripts.). Also, the build process may require certain devel packages
installed that you won't need afterwards...
Why not compile the rpms you want in advance (so you know that they work),
dump them in your install tree, and then install them as a command in the %
post section. Bear in mind that (IIRC) mplayer has circular dependencies and
you need to install several rpms on the same command line to resolve this,
the order in which you install the dependencies will matter as well.
Stuart
--
Someday your prints will come.
-- Kodak
More information about the redhat-list
mailing list