[OE-core] [PATCH] image-prelink.bbclass: use the pseudo env var PSEUDO_ALLOW_FSYNC for prelink

Richard Purdie richard.purdie at linuxfoundation.org
Fri Nov 22 13:47:29 UTC 2013


On Fri, 2013-11-22 at 11:42 -0200, Otavio Salvador wrote:
> On Thu, Nov 21, 2013 at 5:26 PM, Mark Hatle <mark.hatle at windriver.com> wrote:
> > From: Jackie Huang <jackie.huang at windriver.com>
> >
> > (Note: this patch is sent for YP compliance, I don't believe it is
> >  applicable to general oe-core.)
> >
> > This would actually emit fsync calls, which may fix the do_rootfs failure
> > on older systems like CentOS 5.x or SuSE 11.
> >
> > Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
> > Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> > Signed-off-by: Jeff Polk <jeff.polk at windriver.com>
> > Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> 
> There're a Yocto bug about this issue, no?

There is and its not something we're going to fix in master since the
changes are invasive and likely pointless since its a race problem and
just moves the race. You'd probably have to run fsync after ever single
command just to be safe.

The correct fix is to use an OS with a working filesystem as far as I'm
concerned.

Cheers,

Richard




More information about the Openembedded-core mailing list