All of lore.kernel.org
 help / color / mirror / Atom feed
* Safely cleaning 'downloads'
@ 2015-09-30 12:13 Gary Thomas
  2015-10-01 16:38 ` Smith, Virgil
  2015-10-02 11:43 ` Laurentiu Palcu
  0 siblings, 2 replies; 7+ messages in thread
From: Gary Thomas @ 2015-09-30 12:13 UTC (permalink / raw)
  To: Yocto Project

Over time, I tend to build in the same build tree many, many
times.  This leads to some really big trees as many things are
duplicated, especially in the 'downloads' directory.

I use local mirrors and hence my 'downloads' directory is
_mostly_ populated with symbolic links.  However, there are
also expanded SCM packages, e.g. git2/xxx

How can I safely clean up the 'downloads' directory?  I already
copy any created tarballs (I use BB_GENERATE_MIRROR_TARBALLS="1"
to preclude unneeded downloads) to my mirror, but I'd like to
periodically clean out the whole directory (without disturbing
my builds of course).  I've found out the hard way that just
emptying seems to be unsafe, at least for some recipes like
the [RaspberryPi] Linux kernel recipe which once built seems
to expect the expanded git2/xxx tree to remain.

Just trying to find ways to recover my lost GB...

Thanks for any ideas

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

end of thread, other threads:[~2015-10-02 11:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 12:13 Safely cleaning 'downloads' Gary Thomas
2015-10-01 16:38 ` Smith, Virgil
2015-10-01 16:49   ` Gary Thomas
2015-10-01 16:54     ` Christopher Larson
2015-10-01 17:12       ` Martin Jansa
2015-10-01 17:49       ` Gary Thomas
2015-10-02 11:43 ` Laurentiu Palcu

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.