<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="sans-serif">%post takes a --log= argument
which catches stdout, so you could do <br>
%post --nochroot --log=/tmp/log</font></font><br>
<tt>...<br>
cp /tmp/log /mnt/sysimage/tmp<br>
%end<br>
<br>
%post --log=/tmp/log2<br>
...<br>
%end<br>
</tt><br>
Matt<br>
<br>
Pablo Bernasconi wrote:
<blockquote
 cite="mid:272d5daf0906011256n5fd35fa7v24a8b9eaf050d071@mail.gmail.com"
 type="cite">Hello to everyone, <br>
  <br>
I need to catch the log/error of the %post section (the things that are
shown if you do<b> Alt + F3</b> while the post-script is running) and
send it to a file.<br>
  <br>
How can I do this????<br>
  <br>
My %post section:<br>
  <br>
  <i>%post --nochroot<br>
mkdir /mnt/sysimage/usr/src/FSR/<br>
cp /mnt/stage2/FSR/*  /mnt/sysimage/usr/src/FSR/<br>
  <br>
  <br>
%post<br>
cd /usr/src/FSR/<br>
tar -xvzf ....<br>
cd ....<br>
make<br>
make install<br>
....<br>
...<br>
...<br>
eject<br>
%end</i><br>
  <br>
Please help, I have little experience<br>
Thank you very much!!!<br>
  <br>
</blockquote>
</body>
</html>