1 |
Corentin, |
2 |
|
3 |
Since I am running genkenel to do the compilation, I would like to see all |
4 |
the output coming from genkernel (and not the compilation itself). |
5 |
Using ebegin/eend would require me to write the error/success messages |
6 |
myself, or not? |
7 |
|
8 |
Regards, |
9 |
|
10 |
On Tue, 21 Aug 2018 at 17:35 Corentin “Nado” Pazdera <nado@××××××××××.be> |
11 |
wrote: |
12 |
|
13 |
> August 21, 2018 10:03 PM, "Ben Mezger" <su@××××.nl |
14 |
> <su@××××.nl?to=%22Ben%20Mezger%22%20%3Csu@××××.nl%3E>> wrote: |
15 |
> |
16 |
> Greetings, |
17 |
> My current portage configuration is configure to not output any |
18 |
> compilation output, as so: |
19 |
> --- /etc/portage/make.conf ---- |
20 |
> PORTAGE_ELOG_CLASSES="info warn error log qa" |
21 |
> PORTAGE_ELOG_SYSTEM="echo save" |
22 |
> FEATURES="split-elog buildpkg webrsync-gpg" |
23 |
> EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=4" |
24 |
> However, I have set a post_pkg_postinst hook to run "genkernel all" when |
25 |
> installing gentoo-sources. Is there anyway I can open an exception and |
26 |
> allow any output from a hook to be completely verbose when emerging? |
27 |
> |
28 |
> |
29 |
> You can use ebegin/eend in your hook, if there’s an error, it should be |
30 |
> sent to output. Any elog will also be printed after emerge is done. |
31 |
> Do you really need to see the kernel compilation happening? Or do you only |
32 |
> want to know whether it built successfully or not? |
33 |
> |
34 |
> Regards, |
35 |
> -- |
36 |
> Corentin “Nado” Pazdera |
37 |
> |
38 |
-- |
39 |
|
40 |
Ben Mezger |