kickstart ++ installing rpm

Gregory Machin gdm at linuxpro.co.za
Wed Aug 6 14:11:50 UTC 2008


Thanks thats a cool tip :-)

2008/8/6 Gianluca Cecchi <gianluca.cecchi at gmail.com>:
> 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 at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the fedora-list mailing list