> -----Original Message----- > From: openembedded-core@lists.openembedded.org <openembedded- > c...@lists.openembedded.org> On Behalf Of Richard Purdie > Sent: den 8 juli 2020 20:12 > To: Paul Eggleton <paul.eggle...@linux.microsoft.com>; openembedded- > c...@lists.openembedded.org > Subject: Re: [OE-core] [RFC PATCH 1/1] classes: add workdir_save class > > On Wed, 2020-07-08 at 11:02 -0700, Paul Eggleton wrote: > > If you are running your builds inside an environment where you don't > > have access to the build tree (e.g. an autobuilder where you can only > > download final artifacts such as images), then debugging build > > failures > > can be difficult - you can't examine log files, the source tree or > > output > > files. When enabled, this class triggers on task failure and saves a > > tarball of the work directory for the task's recipe and puts it in a > > configurable location, where it can be picked up by a separate > > process > > and made available as a downloadable artifact. > > > > Signed-off-by: Paul Eggleton <paul.eggle...@linux.microsoft.com> > > Seems like a useful idea. I think the name may need "failed" in the > name to make it clearer what it does. We also need a section for the > classes chapter in the manual. > > As another data point, OEQA is using OEQA_DEBUGGING_SAVED_OUTPUT to > trigger saving information for reproducible builds... > > Cheers, > > Richard
How about "save_workdir_on_failure.bbclass"? //Peter
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#140486): https://lists.openembedded.org/g/openembedded-core/message/140486 Mute This Topic: https://lists.openembedded.org/mt/75382316/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-