1 |
Drake Wyrm wrote: |
2 |
> Jason Stubbs <jstubbs@g.o> wrote: |
3 |
> |
4 |
>>When logging is enabled, ebuild output is passed via tee. Running |
5 |
>>anything that checks for terminal type inside of pkg_config therefore |
6 |
>>doesn't work correctly. This patch disables logging during pkg_config |
7 |
>>altogether. |
8 |
> |
9 |
> |
10 |
> There was a thread about this recently, and I'm almost certain that my |
11 |
> input was lost in the noise. A cleaner way of accomplishing that is to |
12 |
> write the ebuild such that portions which need a terminal either attach |
13 |
> to a terminal (`make menuconfig </dev/tty >/dev/tty`) or simply check |
14 |
> for a terminal (`tty -s || die "I need a terminal."`). I almost never |
15 |
> use the `ebuild ... config` feature, but just on general principle I'd |
16 |
> rather the logging capability remain intact. |
17 |
> |
18 |
|
19 |
Is this type of /dev/tty device functionality portable among all gentoo supported (non-Linux) operating systems? This is a concern that comes to my mind. |
20 |
|
21 |
Zac |
22 |
-- |
23 |
gentoo-portage-dev@g.o mailing list |