kickstart ++ installing rpm

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed Aug 6 08:39:17 UTC 2008


On Wed, 6 Aug 2008 09:46:19 +0200  Gregory Machin wrote:

> I'm trying to install an rpm in the %post section of the install

  You can try to insert in your %post section something like this:

  %post
# Define LOG FILE
LOGFILE=/root/ks_postinstall.log
export LOGFILE

touch $LOGFILE
/bin/rpm -Uvh
http://192.168.2.203/devel/courier-imap/courier-imap-4.3.1-1.8.x86_64.rpm >>
$LOGFILE 2>&1

.. other commands redirecting stdout and stderr with same syntax as line
above

and then after reboot you can check your /root/ks_postinstall.log file for
errors

HIH,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080806/34f8f363/attachment-0001.htm>


More information about the fedora-list mailing list