public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] nice-to-have: time stamp when each package starts emerging
@ 2021-06-05  7:35 n952162
  2021-06-05  9:38 ` tastytea
  0 siblings, 1 reply; 3+ messages in thread
From: n952162 @ 2021-06-05  7:35 UTC (permalink / raw
  To: gentoo-user

  Just sayin'



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] nice-to-have: time stamp when each package starts emerging
  2021-06-05  7:35 [gentoo-user] nice-to-have: time stamp when each package starts emerging n952162
@ 2021-06-05  9:38 ` tastytea
  2021-06-05 21:12   ` n952162
  0 siblings, 1 reply; 3+ messages in thread
From: tastytea @ 2021-06-05  9:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 497 bytes --]

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>.

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] nice-to-have: time stamp when each package starts emerging
  2021-06-05  9:38 ` tastytea
@ 2021-06-05 21:12   ` n952162
  0 siblings, 0 replies; 3+ messages in thread
From: n952162 @ 2021-06-05 21:12 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-05 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-05  7:35 [gentoo-user] nice-to-have: time stamp when each package starts emerging n952162
2021-06-05  9:38 ` tastytea
2021-06-05 21:12   ` n952162

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox