All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chwiala, Przemyslaw [C]" <chwprzem@amazon.com>
To: "chris.laplante@agilent.com" <chris.laplante@agilent.com>,
	"bitbake-devel@lists.openembedded.org"
	<bitbake-devel@lists.openembedded.org>
Subject: Re: Custom event handler does not work
Date: Wed, 15 Feb 2023 06:45:52 +0000	[thread overview]
Message-ID: <08027d0314824c54a623c387fe082174@amazon.com> (raw)
In-Reply-To: <DM8PR12MB543087393CEA69A61F5860CA8BDD9@DM8PR12MB5430.namprd12.prod.outlook.com>

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

Hello Chris,


it was a good thought. Now all events I need are visible.


Thank you for your help

Przemek

________________________________
From: chris.laplante@agilent.com <chris.laplante@agilent.com>
Sent: Monday, February 13, 2023 4:49:58 PM
To: Chwiala, Przemyslaw [C]; bitbake-devel@lists.openembedded.org
Subject: RE: [EXTERNAL]Custom event handler does not work

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



> I'm working on Yocto image based on Kirkstone relese. I'm trying to add a
> custom event handler to my image, to be able to catch BuildCompleted
> or CookerExit event. Unfortunately I'm not able to catch those events as well
> as any other event from list in
> the documentation https://nam12.safelinks.protection.outlook.com/?url=htt
> ps%3A%2F%2Fdocs.yoctoproject.org%2Fbitbake%2F2.2%2Fbitbake-user-
> manual%2Fbitbake-user-manual-
> metadata.html%23events&data=05%7C01%7Cchris.laplante%40agilent.com%
> 7C54cb5a85a0a141a4ce2d08db0dcc7ca0%7Ca9c0bc098b46420693512ba12f
> b4a5c0%7C0%7C0%7C638118945468553260%7CUnknown%7CTWFpbGZsb3
> d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0
> %3D%7C3000%7C%7C%7C&sdata=lAYX30mAIMLWWaPWINyzQBDF%2FJ4SjB
> EWpfeaqHF7oB8%3D&reserved=0

IIRC those events need to be caught in a bbclass that you install globally (e.g. using INHERIT in local.conf). They won't work at a per-recipe level.

Thanks,
Chris

[-- Attachment #2: Type: text/html, Size: 2799 bytes --]

      reply	other threads:[~2023-02-15  6:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-13 14:13 Custom event handler does not work Chwiala, Przemyslaw [C]
2023-02-13 15:49 ` chris.laplante
2023-02-15  6:45   ` Chwiala, Przemyslaw [C] [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=08027d0314824c54a623c387fe082174@amazon.com \
    --to=chwprzem@amazon.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=chris.laplante@agilent.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.