On Wednesday 19 January 2005 23:11, Marius Mauch wrote:
> On Wed, 19 Jan 2005 22:02:42 +0100
>
> Alexander Mieland <[EMAIL PROTECTED]> wrote:
> > On Wednesday 19 January 2005 19:01, Ciaran McCreesh wrote:
> > > On Wed, 19 Jan 2005 18:35:40 +0100 Alexander Mieland
> > >
> > > <[EMAIL PROTECTED]> wrote:
> > > | oh, yes, I'm sorry... there was a linebreak which causes this
> > > | behaviour. It works now. But well, I think I can't use something
> > > | like this in an ebuild.
> > >
> > > Nope.
> > >
> > > | Perhaps it would be better to copy the emerge.log to /tmp?
> > >
> > > No good either. /tmp is wiped on a reboot (or at least, it is if
> > > the system's set up properly).
> >
> > this would be no problem, because basc needs this information only
> > once  at the first run. And with a little notice in the
> > pkg_postinst() which  says that basc must be run before a reboot
> > deletes the content of /tmp,  this should be no problem.
>
> If you only need that information once then why don't you just extract
> it at pkg_postinst or pkg_config time? Why do you need the whole
> logfile?

generally I don't need the whole logfile.
But I need them *all* if logrotate is activated, to cat them all into one 
single logfile which would be better to grep and sed for the average 
mergetime of gcc.

The code, which is needed to react on all the possibilities (logrotate, 
gzipped, a.s.o), would be to much and too complicated to make this all 
in the ebuild.
well okay, perhaps not too complicated, but I think this would really not 
fit with the policies.

-- 
http://de.gentoo-wiki.com              Alexander Mieland (aka dma147)
http://www.gentoo-stats.org             Registered Linux-User #249600
http://www.php-programs.de                        GnuGPG-ID: 209D65B5
http://www.affen-in-not.de             www.php-programs.de/dma147.asc

Attachment: pgpFsjv6vGXOY.pgp
Description: PGP signature

Reply via email to