Mailing List Archive

nice-to-have: time stamp when each package starts emerging
 Just sayin'
Re: nice-to-have: time stamp when each package starts emerging [ In reply to ]
On 2021-06-05 09:35+0200 n952162 <n952162@web.de> wrote:

>  Just sayin'

/etc/portage/bashrc is sourced for every package.[1][2]

Try something like
[[ "${EBUILD_PHASE}" == "setup" ]] && date

[1] <https://wiki.gentoo.org/wiki//etc/portage/bashrc>
[2] <https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Advanced#Using_.2Fetc.2Fportage.2Fbashrc_and_affiliated_files>

--
Get my PGP key with `gpg --locate-keys tastytea@tastytea.de` or at
<https://tastytea.de/tastytea.asc>.
Re: nice-to-have: time stamp when each package starts emerging [ In reply to ]
On 6/5/21 11:38 AM, tastytea wrote:
> On 2021-06-05 09:35+0200 n952162 <n952162@web.de> wrote:
>
>>  Just sayin'
> /etc/portage/bashrc is sourced for every package.[1][2]
>
> Try something like
> [[ "${EBUILD_PHASE}" == "setup" ]] && date
>
> [1] <https://wiki.gentoo.org/wiki//etc/portage/bashrc>
> [2] <https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Advanced#Using_.2Fetc.2Fportage.2Fbashrc_and_affiliated_files>
>
Hey cool!  Good idea.