Corentin,

Since I am running genkenel to do the compilation, I would like to see all
the output coming from genkernel (and not the compilation itself).
Using ebegin/eend would require me to write the error/success messages
myself, or not?

Regards,

On Tue, 21 Aug 2018 at 17:35 Corentin “Nado” Pazdera <n...@troglodyte.be>
wrote:

> August 21, 2018 10:03 PM, "Ben Mezger" <s...@seds.nl
> <s...@seds.nl?to=%22ben%20mezger%22%20%3...@seds.nl%3E>> wrote:
>
> Greetings,
> My current portage configuration is configure to not output any
> compilation output, as so:
> --- /etc/portage/make.conf ----
> PORTAGE_ELOG_CLASSES="info warn error log qa"
> PORTAGE_ELOG_SYSTEM="echo save"
> FEATURES="split-elog buildpkg webrsync-gpg"
> EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=4"
> However, I have set a post_pkg_postinst hook to run "genkernel all" when
> installing gentoo-sources. Is there anyway I can open an exception and
> allow any output from a hook to be completely verbose when emerging?
>
>
> You can use ebegin/eend in your hook, if there’s an error, it should be
> sent to output. Any elog will also be printed after emerge is done.
> Do you really need to see the kernel compilation happening? Or do you only
> want to know whether it built successfully or not?
>
> Regards,
> --
> Corentin “Nado” Pazdera
>
-- 

Ben Mezger

Reply via email to