[yocto] Removing old git revisions from the build

Martin Jansa martin.jansa at gmail.com
Wed Nov 12 05:02:45 PST 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141112/2dfe84eb/attachment.pgp>


More information about the yocto mailing list