[Toaster] [PATCH 0/1] toaster: Y9137 get packages from sstate

Brian Avery avery.brian at gmail.com
Tue Mar 8 07:10:21 PST 2016


in those cases, bitbake itself doesn't do anything, so the 0 is
correct, albeit perhaps confusing. however, since it did do something
once before the package is available for ic. My main fear was having
packages be available but toaster being unable to add them into a CI.
-b
an intel employee

On Tue, Mar 8, 2016 at 7:07 AM, Barros Pena, Belen
<belen.barros.pena at intel.com> wrote:
>
>
> On 08/03/2016 05:50, "toaster-bounces at yoctoproject.org on behalf of brian
> avery" <toaster-bounces at yoctoproject.org on behalf of
> avery.brian at gmail.com> wrote:
>
>>This addresses the missing packages part of Y9137.  This patch allows us
>>to see
>>packages that came from a setscene.
>
> This works for me, which is great. But in my innocence, I somehow assumed
> it would also perform the miracle in those builds where no sstate is used
> (the task output from a previous build is used. We call those tasks
> 'Prebuilt' in Toaster, although I am not sure how they are called in the
> non-Toaster world). The kind of build you do when, after step 6 below, you
> rebuild dropbear yet again.
>
> This might be completely unrealistic though.
>
> Cheers
>
> Belén
>
>
>>Testing it is a little hard:
>>1) You can add the following to your local.conf in a toaster dir:
>>SSTATE_MIRRORS="file://.*
>>http://downloads.yoctoproject.org/tools/support/toaster/sstate-test/master
>>/sstate-cache/PATH"
>>This might also work:
>>SSTATE_MIRRORS="file://.* http://sstate.yoctoproject.org/dev/PATH"
>>and build dropbear in a LOCAL project. You should see ~322 pkgs built.
>>
>>The hard way to test this is to:
>>1) start toaster
>>2) build dropbear as a local project
>>3) stop toaster
>>4) rm everything except sstate-cache/ and conf/
>>5) restart toaster
>>6) build dropbearas a local project.  it should come from sstate and
>>downloads should remain empty.
>>
>>Note, there is still a big difference between the pkgs we get from a
>>build ~2844 and the ones we get from setscening.
>>The setscening doesn't package:
>>*locales
>>glibc-charmap*
>>glibc-gconv*
>>perl-module*
>>ncurses-lib*
>>as they seem to be unnecessary in order to be able to package dropbear.
>>
>>---
>>This does not address the need to change "packages built" to something
>>more generic like packages in the UI.
>>
>>
>>-b
>>an Intel employee
>>
>>The following changes since commit
>>325a35c43df83d4268fc54a8955ee785f6a1f6fe:
>>
>>  toaster: update the meta-yocto toaster configuration file (2016-03-07
>>21:36:03 -0800)
>>
>>are available in the git repository at:
>>
>>  git://git.yoctoproject.org/poky-contrib
>>bavery/toaster/getPkgsFromSstate-Y9137V2
>>
>>http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/toaster/ge
>>tPkgsFromSstate-Y9137V2
>>
>>brian avery (1):
>>  toaster: show packages that were setscened into existence too
>>
>> meta/classes/toaster.bbclass | 25 +++++++++++++++++++++++--
>> 1 file changed, 23 insertions(+), 2 deletions(-)
>>
>>--
>>1.9.1
>>--
>>_______________________________________________
>>toaster mailing list
>>toaster at yoctoproject.org
>>https://lists.yoctoproject.org/listinfo/toaster
>


More information about the toaster mailing list