[OE-core] [PATCH] rpm: Avoid leaking temporary scriplet files

Peter Kjellerstedt peter.kjellerstedt at axis.com
Wed Jul 4 21:46:52 UTC 2018


Once this hits master, it should also be cherry-picked to Rocko and Sumo. 
Should be straightforward as the patch hasn't changed since it was 
introduced.

//Peter

> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
> Alexander Kanavin
> Sent: den 3 juli 2018 14:33
> To: OE-core <openembedded-core at lists.openembedded.org>; Olof Johansson
> <Olof.Johansson at axis.com>
> Subject: Re: [OE-core] [PATCH] rpm: Avoid leaking temporary scriplet
> files
> 
> Thanks, looks good now!
> 
> Alex
> 
> 2018-07-03 14:01 GMT+02:00 Olof Johansson <olof.johansson at axis.com>:
> > On 18-06-30 08:37 +0200, Alexander Kanavin wrote:
> >> Ideally, "/" should've been replaced with rpmtsRootDir(ts), but ts
> is
> >> not accessible from the function, or from its parent, or parent
> >> parent. So yes, I concede this would be too invasive to pass that
> down
> >> the call stack. So if you can amend the above patch of mine with
> your
> >> change, commit message, and SOB, that should be best. These changes
> >> really belong together, as a custom fix for the oe build
> environment.
> >
> > Thanks for the feedback, I just sent a v2 of the patch. Hope it
> > is in line with what you asked for.
> >
> > --
> > olofjn
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list