[OE-core] [pyro][PATCH 1/1] package_manager: flush installed_pkgs file before oe-pkgdata-util uses it

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 5 14:33:50 UTC 2017


On Wed, 2017-07-05 at 15:53 +0200, Anders Darander wrote:
> * Anders Darander <anders at chargestorm.se> [170626 08:53]:
> 
> > 
> > From: Martin Jansa <martin.jansa at gmail.com>
> > 
> > * since this commit:
> >   commit f5a1013ffa9815f22e13989e2bcb83f966e7ce2c
> >   Author: Ross Burton <ross.burton at intel.com>
> >   Date:   Tue Apr 18 16:19:12 2017 +0100
> > 
> >     package_manager: don't race on a file when installing
> > complementary
> >     packages
> > 
> >   the file isn't closed before oe-pkgdata-util uses it and this
> >   temporary file might look empty to oe-pkgdata-util, because it
> >   wasn't flushed yet. Which resulted in almost empty debugfs
> > tarballs
> >   and no locale packages in regular rootfs.
> > * without this change:
> >   124K May 30 07:41 core-image-full-cmdline-raspberrypi3-64-
> > 20170530054003-dbg.rootfs.tar.gz
> > * with this change:
> Ping. 

I did queue this in pyro-next earlier too. I suspect there are others
I've missed but I am trying to change my processes to make this easier
for me to make sure things get caught.

Cheers,

Richard



More information about the Openembedded-core mailing list