All of lore.kernel.org
 help / color / mirror / Atom feed
* Avoid creation of .sdcard images.
@ 2015-06-26 19:45 Daniel.
  2015-06-26 19:52 ` Leonardo Sandoval
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel. @ 2015-06-26 19:45 UTC (permalink / raw)
  To: yocto@yoctoproject.org

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

Does any one knows how to avoid the creation of .sdcard images? This ones
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

-- 
*"Do or do not. There is no try"*
  *Yoda Master*

[-- Attachment #2: Type: text/html, Size: 556 bytes --]

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

* Re: Avoid creation of .sdcard images.
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Leonardo Sandoval @ 2015-06-26 19:52 UTC (permalink / raw)
  To: Daniel., yocto@yoctoproject.org

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

> 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
>
>
>


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

* Re: Avoid creation of .sdcard images.
  2015-06-26 19:52 ` Leonardo Sandoval
@ 2015-06-26 20:28   ` Gary Thomas
  2015-06-26 20:32     ` Daniel.
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2015-06-26 20:28 UTC (permalink / raw)
  To: yocto

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
------------------------------------------------------------


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

* Re: Avoid creation of .sdcard images.
  2015-06-26 20:28   ` Gary Thomas
@ 2015-06-26 20:32     ` Daniel.
  2015-06-27  0:25       ` Nikolay Dimitrov
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel. @ 2015-06-26 20:32 UTC (permalink / raw)
  Cc: yocto@yoctoproject.org

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

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>:

> 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
> https://lists.yoctoproject.org/listinfo/yocto
>



-- 
*"Do or do not. There is no try"*
  *Yoda Master*

[-- Attachment #2: Type: text/html, Size: 2612 bytes --]

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

* Re: Avoid creation of .sdcard images.
  2015-06-26 20:32     ` Daniel.
@ 2015-06-27  0:25       ` Nikolay Dimitrov
  2015-06-27  0:30         ` Daniel.
  0 siblings, 1 reply; 8+ messages in thread
From: Nikolay Dimitrov @ 2015-06-27  0:25 UTC (permalink / raw)
  To: Daniel.; +Cc: yocto@yoctoproject.org, Gary Thomas

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>>:
>
>     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>
>     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


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

* Re: Avoid creation of .sdcard images.
  2015-06-27  0:25       ` Nikolay Dimitrov
@ 2015-06-27  0:30         ` Daniel.
  2015-06-27  0:39           ` Nikolay Dimitrov
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel. @ 2015-06-27  0:30 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: yocto@yoctoproject.org, Gary Thomas

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

What you mean about deployed? They are compiled but doesnt go to tmp/deploy
folder?!

Im building to imx6 :/
Em 26/06/2015 21:25, "Nikolay Dimitrov" <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>>:
>>
>>     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>
>>     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
>

[-- Attachment #2: Type: text/html, Size: 3138 bytes --]

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

* Re: Avoid creation of .sdcard images.
  2015-06-27  0:30         ` Daniel.
@ 2015-06-27  0:39           ` Nikolay Dimitrov
  2015-06-27  0:45             ` Daniel.
  0 siblings, 1 reply; 8+ messages in thread
From: Nikolay Dimitrov @ 2015-06-27  0:39 UTC (permalink / raw)
  To: Daniel.; +Cc: yocto@yoctoproject.org, Gary Thomas

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


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

* Re: Avoid creation of .sdcard images.
  2015-06-27  0:39           ` Nikolay Dimitrov
@ 2015-06-27  0:45             ` Daniel.
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel. @ 2015-06-27  0:45 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: yocto, Gary Thomas

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

Well, I'm in home now monday I'll take a look on this, it should have a
way, maybe a little hack is needed, thanks for informing, best regards I
keep in touch
Em 26/06/2015 21:39, "Nikolay Dimitrov" <picmaster@mail.bg> escreveu:

> 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
>

[-- Attachment #2: Type: text/html, Size: 5488 bytes --]

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

end of thread, other threads:[~2015-06-27  0:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-06-27  0:45             ` Daniel.

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.