From: Nikolay Dimitrov <picmaster@mail.bg>
To: "Daniel." <danielhilst@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>,
Gary Thomas <gary@mlbassoc.com>
Subject: Re: Avoid creation of .sdcard images.
Date: Sat, 27 Jun 2015 03:39:42 +0300 [thread overview]
Message-ID: <558DF0CE.1050101@mail.bg> (raw)
In-Reply-To: <CAF3SDA4jb+dLGCuDpLB32AqiFtTE=m9L6Rp+VGfrg3YZ9DFJwA@mail.gmail.com>
Hi Daniel,
On 06/27/2015 03:30 AM, Daniel. wrote:
> What you mean about deployed? They are compiled but doesnt go to
> tmp/deploy folder?!
Exactly. In my project I also don't use the sdcard image, but I just
have to leave it because of the previously described behavior.
Guess how I discovered it :D (hint: tried to optimize the build times
and disk usage).
Best way is to see for yourself. Just edit the file sources/meta-
yourlayer/conf/machine/yourboard.conf and put something like this:
# Shoot myself in the foot
#IMAGE_FSTYPES = "tar sdcard"
IMAGE_FSTYPES = "tar"
...and give it a try. It may be a good idea to fully clean your build
space (rm -fr cache sstate-cache tmp) before building, otherwise old
build products in tmp/deploy can fool you that a build is properly
done, while it was not.
>
> Im building to imx6 :/
>
> Em 26/06/2015 21:25, "Nikolay Dimitrov" <picmaster@mail.bg
> <mailto:picmaster@mail.bg>> escreveu:
>
> Hi guys,
>
> On 06/26/2015 11:32 PM, Daniel. wrote:
>
> Hmm, this seems cleaner than setting whole IMAGE_FSTYPES, I'll try!
>
> Thank you!
>
> 2015-06-26 17:28 GMT-03:00 Gary Thomas <gary@mlbassoc.com
> <mailto:gary@mlbassoc.com>
> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com>>>:
>
> On 2015-06-26 13:52, Leonardo Sandoval wrote:
>
> On 06/26/2015 02:45 PM, Daniel. wrote:
>
> Does any one knows how to avoid the creation of .sdcard
> images? This ones
>
> The variable controlling the type of output images is
> IMAGE_FSTYPES, so you can redefine it under your
> local.conf. To
> see the current content, you can do
>
> $bitbake -e <your image> | grep IMAGE_FSTYPES
>
>
> Just add this line to your local.conf
> IMAGE_FSTYPES_remove = "sdcard"
>
>
>
> takes a lot of diskspace and I have to delete it
> periodically, which gives
> headaches about cleaning everything every time. A
> have an
> 50GB partition
> and from month to month I get out of disk space. :(
>
> Thanks in advance
>
>
>
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> <mailto:yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>>
> https://lists.yoctoproject.org/listinfo/yocto
>
>
>
>
> --
> /"Do or do not. There is no try"/
> ///*Yoda Master*/
>
>
>
> Removing "sdcard" from IMAGE_FSTYPES will prevent virtual/kernel and
> virtual/bootloader from being deployed, and most of the time we need
> them, so be warned. At least this is how things work on imx6 builds :D.
>
> Regards,
> Nikolay
>
Regards,
Nikolay
next prev parent reply other threads:[~2015-06-27 0:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-26 19:45 Avoid creation of .sdcard images Daniel.
2015-06-26 19:52 ` Leonardo Sandoval
2015-06-26 20:28 ` Gary Thomas
2015-06-26 20:32 ` Daniel.
2015-06-27 0:25 ` Nikolay Dimitrov
2015-06-27 0:30 ` Daniel.
2015-06-27 0:39 ` Nikolay Dimitrov [this message]
2015-06-27 0:45 ` Daniel.
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=558DF0CE.1050101@mail.bg \
--to=picmaster@mail.bg \
--cc=danielhilst@gmail.com \
--cc=gary@mlbassoc.com \
--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.