<div dir="ltr">On Wed, 6 Aug 2008 09:46:19 +0200 Gregory Machin wrote:<br><pre>> I'm trying to install an rpm in the %post section of the install<br><br></pre> You can try to insert in your %post section something like this:<br>
<br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 2.4 (Unix)">
<style type="text/css">
<!--
@page { size: 21cm 29.7cm; margin: 2cm }
P { margin-bottom: 0.21cm }
--></style>%post<br># Define LOG FILE<br>LOGFILE=/root/ks_postinstall.log<br>export LOGFILE<br><br>touch $LOGFILE<br>/bin/rpm -Uvh <a href="http://192.168.2.203/devel/courier-imap/courier-imap-4.3.1-1.8.x86_64.rpm">http://192.168.2.203/devel/courier-imap/courier-imap-4.3.1-1.8.x86_64.rpm</a> >> $LOGFILE 2>&1<br>
<br>.. other commands redirecting stdout and stderr with same syntax as line above<br><br>and then after reboot you can check your /root/ks_postinstall.log file for errors<br><br>HIH,<br>Gianluca<br></div>