All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kang Kai <Kai.Kang@windriver.com>
To: Andreas Oberritter <obi@opendreambox.org>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: cleanup-workdir
Date: Fri, 13 Apr 2012 09:49:53 +0800	[thread overview]
Message-ID: <4F878641.1010207@windriver.com> (raw)
In-Reply-To: <4F87233E.2030604@opendreambox.org>

On 2012年04月13日 02:47, Andreas Oberritter wrote:
> Hello Kai,
>
> because I was low on disk space, I just tried scripts/cleanup-workdir
> for the first time. My observations:

Hi Andreas,
  

> 1.) It deletes work directories that were built for other machines
> (archs) than the current one. I guess the list of architectures to
> handle should be queried from bitbake to avoid this.
Do you mean that you build for 2 archs under the same "build" directory?
Even in this way the script only delete the packages' build dir for old 
versions.
Your requirement is that cleanup-workdir just clean the build dirs for 
current arch, right?

> 2.) It doesn't delete work directories of previously deleted recipes.
Because when the recipe gone, I can NOT tell whether the directory is 
left by bitbake or created by user.
I will list them and let user to choose delete them or not.

Regards,
Kai
>
> Regards,
> Andreas




  reply	other threads:[~2012-04-13  1:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 18:47 cleanup-workdir Andreas Oberritter
2012-04-13  1:49 ` Kang Kai [this message]
2012-04-13  9:47   ` cleanup-workdir Andreas Oberritter
2012-06-02 15:37     ` cleanup-workdir Bob Cochran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F878641.1010207@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=obi@opendreambox.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.