[yocto] Removing old git revisions from the build

Andy Ng andreas2025 at gmail.com
Wed Nov 12 12:25:19 PST 2014


Great! It works! I used rm_old_work

Thank you Martin!
A

On Wed, Nov 12, 2014 at 1:02 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Wed, Nov 12, 2014 at 12:02:58PM +0000, Andy Ng wrote:
>> Hello,
>>
>> I am using Dylan and my kernel recipe has AUTOREV.
>> Everything works fine and any new kernel changes are checked out and
>> a new kernel is built. However, I have noticed that the old builds are
>> not deleted and after a while started having space problems.
>>
>> Is there any way to have the old git revisions deleted automatically
>> from the "tmp" area?
>
> rm_work will make them smaller, there is also rm_old_work which will
> remove all WORKDIRs except latest:
> https://github.com/shr-distribution/meta-smartphone/blob/shr/meta-shr/classes/rm_old_work.bbclass
>
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com



More information about the yocto mailing list