[Toaster] quick question about installed packages information

Barros Pena, Belen belen.barros.pena at intel.com
Fri Mar 14 03:03:48 PDT 2014


On 13/03/2014 18:58, "Lerner, Dave" <dave.lerner at windriver.com> wrote:

>Hi Belen,
>
>By the way, I spent several minutes confirming that at least for my
>qemux86 core-image-minimal build
>	package.installed_size is always modulo 1024 but package.size is not!

I am not sure I understand this. What do you think is causing it?

What I have seen is that there is a slight difference between size and
installed_size for most packages, so I ran it by Paul and Alex. From what
I understood, installed_size is different because is taking into account
the extra size on disk that the files take, but in the build host, so this
might have no relationship to such size in the target hardware where the
image will be deployed. (Paul, Alex: feel free to clarify if I didn't get
this properly).

The consequence of this is that we should not be using installed_size at
all: we should be using size in all pages.

I am really sorry about this. I hope it's ok to make the change.

Thanks!

Belén


>



More information about the toaster mailing list