my kernel is not build/install
Matthew Seaman
m.seaman at infracaninophile.co.uk
Tue Jun 30 05:42:36 UTC 2009
Chris Rees wrote:
> 2009/6/26 Kent Stewart <kstewart at owt.com>:
>> make buildkernel KERNCONF=FREEBSD1 2>&1 |
>> tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log
>>
>> It leaves a complete log everytime I build a kernel. Your options would be
>> different and I also use csh.
>>
>
>
> [chris at amnesiac]~% make buildkernel KERNCONF=FREEBSD1 2>&1 |tee
> /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log
> Ambiguous output redirect.
> [chris at amnesiac]~%
>
> I think you've written that into a script for /bin/sh.
>
> I've no idea how to pipe stderr in csh, but 2>&1 is NOT the way to do it!
% make buildkernel KERNCONF=FREEBSD1 |& tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090630/e15cbe1b/signature.pgp
More information about the freebsd-questions
mailing list