re: kickstart ++ installing rpm

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

 



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
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux