All of lore.kernel.org
 help / color / mirror / Atom feed
* Removing old git revisions from the build
@ 2014-11-12 12:02 Andy Ng
  2014-11-12 13:02 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Ng @ 2014-11-12 12:02 UTC (permalink / raw)
  To: yocto

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?

Best regards
Andy


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Removing old git revisions from the build
  2014-11-12 12:02 Removing old git revisions from the build Andy Ng
@ 2014-11-12 13:02 ` Martin Jansa
  2014-11-12 20:25   ` Andy Ng
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2014-11-12 13:02 UTC (permalink / raw)
  To: Andy Ng; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 706 bytes --]

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@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Removing old git revisions from the build
  2014-11-12 13:02 ` Martin Jansa
@ 2014-11-12 20:25   ` Andy Ng
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Ng @ 2014-11-12 20:25 UTC (permalink / raw)
  To: Martin Jansa; +Cc: yocto

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@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@gmail.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-12 20:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12 12:02 Removing old git revisions from the build Andy Ng
2014-11-12 13:02 ` Martin Jansa
2014-11-12 20:25   ` Andy Ng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.