[Toaster] Questions on database pacakge.size == -1
Damian, Alexandru
alexandru.damian at intel.com
Tue Mar 18 03:56:38 PDT 2014
Packages with size -1 should not be displayed at all in table pages !
They are in the database to provide targets for dependency links. In other
words:
- When toaster gets the list of packages, all valid entries in the database
are created.
- When it gets the dependency list, it may happen that dependency targets
are not the package list. This may happen for any number of reasons, for
example conflicts with a package that was not built in the current built,
but it signals the installer to not install both packages at the same time.
- Because we need package entries in the database, we create virtual
packages with size -1.
Packages with size -1 should not be displayed in package tables, but they
should be displayed in dependency information in package details.
Alex
On Mon, Mar 17, 2014 at 10:48 PM, Lerner, David M (Wind River) <
dave.lerner at windriver.com> wrote:
> Agreed.
> -adve
>
> > -----Original Message-----
> > From: Reyna, David
> > Sent: Monday, March 17, 2014 5:47 PM
> > To: Lerner, Dave; DAMIAN, ALEXANDRU
> > Cc: 'toaster at yoctoproject.org'
> > Subject: Re: [Toaster] Questions on database pacakge.size == -1
> >
> > I would image that -1 is for sizes that could not be computer for
> whatever reason, and
> > that it should be mapped to 0 for this page and context.
> >
> > David
> >
> >
> > ----- Original Message -----
> > From: Lerner, Dave [mailto:dave.lerner at windriver.com]
> > Sent: Monday, March 17, 2014 03:08 PM
> > To: DAMIAN, ALEXANDRU
> > Cc: toaster at yoctoproject.org <toaster at yoctoproject.org>
> > Subject: [Toaster] Questions on database pacakge.size == -1
> >
> > Hi Alex,
> > What does package.size = -1 mean and how does it differ from
> package.size = 0?
> > Dave
> > --
> > _______________________________________________
> > toaster mailing list
> > toaster at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/toaster
>
--
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20140318/fe515e3c/attachment-0001.html>
More information about the toaster
mailing list