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

Nicolas Dechesne nicolas.dechesne at linaro.org
Tue Sep 6 13:26:14 UTC 2016


On Tue, Sep 6, 2016 at 3:19 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> 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?

i can't really say that I *need* them, it is definitely not something
vital, just a convenience. It is often that I compare current and old,
so having convenience symlink for both seemed to be a good idea.



More information about the bitbake-devel mailing list