public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: Anton Mikanovich <amikan@ilbers.de>,
	"Scheler, Fabian (T CED SES-DE)" <Fabian.Scheler@siemens.com>,
	isar-users@googlegroups.com
Subject: Re: Accessing sbuild build-directory
Date: Fri, 05 Apr 2024 12:57:52 +0300	[thread overview]
Message-ID: <b7569ce7fe26989b8108cef8f66baadad825de72.camel@ilbers.de> (raw)
In-Reply-To: <2b33407e-bfcf-4ebb-88a3-6347a1f13aec@ilbers.de>

On Fri, 2024-04-05 at 12:09 +0300, Anton Mikanovich wrote:
> 05/04/2024 11:38, 'Scheler, Fabian (T CED SES-DE)' via isar-users
> wrote:
> > Hi all,
> > 
> > I want to extract the coverage information (i.e. the gcno-files 
> > created by gcc) that is generated during the package build via
> > sbuild 
> > and I look for some hook that allows to access the content of the 
> > sbuild build-directory after the build from within a recipe.
> > 
> > Is this possible?
> > 
> > Ciao
> > Fabian
> 
> Hello Fabian,
> 
> You can refer to sbuild documentation for hooks explanation.
> The last one executed inside session before its cleanup is
> '--chroot-cleanup-commands'.
> So you can modify dpkg.bbclass adding any custom commands with this
> hook.
> 
> There are no already implemented dummy pre/post hooks for now, but we
> can try to
> implement them in future if needed.
> 

FWIW, perhaps 6d5fbbab could be used to quickly play with custom hooks
to sbuild process. A different approach can be chosen for the final
implementation (if any).

-- 
Best regards,
Uladzimir.




  reply	other threads:[~2024-04-05  9:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05  8:38 Scheler, Fabian (T CED SES-DE)
2024-04-05  9:09 ` Anton Mikanovich
2024-04-05  9:57   ` Uladzimir Bely [this message]
2024-04-05 10:03     ` Scheler, Fabian
2024-04-05 13:10       ` Scheler, Fabian
2024-05-28  7:29         ` Claudius Heine
2024-05-28  7:58           ` Jan Kiszka
2024-05-28  8:49             ` Claudius Heine
2024-05-28  8:52               ` Jan Kiszka
2024-05-29 11:24                 ` Anton Mikanovich
2024-05-29 12:33                   ` Jan Kiszka
2024-05-29 12:54                     ` Baurzhan Ismagulov

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=b7569ce7fe26989b8108cef8f66baadad825de72.camel@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=Fabian.Scheler@siemens.com \
    --cc=amikan@ilbers.de \
    --cc=isar-users@googlegroups.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox