[bitbake-devel] [PATCH] lib/bb/build: create .old symlink for run.do_xx and log.do_xx

Richard Purdie richard.purdie at linuxfoundation.org
Tue Sep 6 13:19:17 UTC 2016


On Tue, 2016-09-06 at 12:53 +0100, Nicolas Dechesne wrote:
> When they exist, keep a reference to the 'previous' (or old) build
> for run.do_xx
> and log.do_xx files, which can be useful when debugging. The symlink
> are created
> as run.do_xx.old and log.do_xx.old.
> 
> Signed-off-by: Nicolas Dechesne <nicolas.dechesne at linaro.org>
> ---
>  lib/bb/build.py | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)

We keep the old logfiles around and "ls -t" is comparatively straight
forward. Do we really need this extra complexity?

Cheers,

Richard



More information about the bitbake-devel mailing list