All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Giovanni Foiani <fnognn@unife.it>
Cc: yocto@yoctoproject.org
Subject: Re: Delete unused hob images
Date: Mon, 30 Jul 2012 15:42:48 +0100	[thread overview]
Message-ID: <103362898.T6h1MoqcIn@helios> (raw)
In-Reply-To: <CANsUPaMnm2UdcbmdHkQoRD3sgvG+bkOqezMopS8DcuoK=31B2A@mail.gmail.com>

On Monday 30 July 2012 15:18:37 Giovanni Foiani wrote:
> I read this section in Poky Reference manual:
> 
> *A.2.13. build/tmp/deploy/images/*
> *
> *
> *This directory receives complete filesystem images. If you want to flash
> the resulting image from a build onto a device, look here for the image.*
> *
> *
> *Note, you should not remove any files from this directory by hand in an
> attempt to rebuild an image. If you want to clean out the cache, re-run the
> build using the following BitBake command: *
> *     $ bitbake -c cleanall <target>*
> 
> I built many images using hob and in my *build/tmp/deploy/images/ *folder
> there are a lot of rootfs images (like
> hob-image-imx53qsb-<timestamp>.rootfs.ext3 etc..) and I want to remove the
> unused ones to free some space..
> 
> I tried tp run:
> 
> *bitbake -c cleanall * hob-image-imx53qsb-<timestamp>
> 
> but I got:
> ERROR: Nothing PROVIDES 'hob-image-imx53qsb-<timestamp>'

I'm not sure where this came from originally, but it is not correct. I'll talk 
to Scott R about fixing this part of the manual.

> Can I safely remove these files by hand?

The hob-image-*, yes. In fact any actual image files in deploy/images are OK to 
delete (excluding *zImage*, *uImage*, etc. - those are kernels). All the 
warnings are trying to prevent is people deleting the entire contents of 
deploy/images and then wondering why the kernel, bootloader etc. that get 
produced as part of the process of building an image but are not part of the 
image itself aren't re-created when they build the image again afterwards.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2012-07-30 14:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30 13:18 Delete unused hob images Giovanni Foiani
2012-07-30 14:42 ` Paul Eggleton [this message]
2012-07-30 15:09   ` Giovanni Foiani

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=103362898.T6h1MoqcIn@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=fnognn@unife.it \
    --cc=yocto@yoctoproject.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.