* icecc
@ 2014-10-28 12:12 Peter Bergin
2014-11-14 9:10 ` icecc Joseph Andrew de la Peña
0 siblings, 1 reply; 3+ messages in thread
From: Peter Bergin @ 2014-10-28 12:12 UTC (permalink / raw)
To: yocto@yoctoproject.org
Hi,
I am trying to get icecc working together with Poky (daisy branch). I follow the Yocto Project Reference Manual chapter "7.45. icecc.bbclass" and I can not get it working.
The manual states that I on a distribution level can add the following:
INHERIT_DISTRO += "icecc"
ICECC_DISABLED ??= "1"
This will make sure my builders use the same sstate signatures regardless if they use icecc or not. The way I did it to test was to create my own distro layer, called mydist, that inherits from Poky.
$ cat ../meta-mydist/conf/distro/mydist.conf
require conf/distro/poky.conf
DISTRO = "mydist"
DISTRO_NAME = "MyDist"
INHERIT_DISTRO += "icecc"
ICECC_DISABLED ??= "1"
In my bblayers.conf I added this layer directly after the meta-yocto layer. But with this addition my build environment will not work anymore. What happens is that the variable INHERIT_DISTRO is overwritten because my layer is picked before the poky/meta/conf/distro/defaultsetup.conf. I get the same behaviour if i edit the poky.conf and not use my own distro.
$ bitbake core-image-base -e
...
#
# $INHERIT_DISTRO [3 operations]
# append /work/yocto/course/meta-mydist/conf/distro/mydist.conf:6
# "icecc"
# set? /work/yocto/course/poky/meta/conf/distro/defaultsetup.conf:22
# "debian devshell sstate license"
# set /work/yocto/course/poky/meta/conf/documentation.conf:226
# [doc] "Lists classes that will be inherited at the distribution level. It is unlikely that you want to edit this variable."
# computed:
# " icecc"
INHERIT_DISTRO=" icecc"
#
...
What is wrong here, documentation or my setup? Can someone give me advice?
Regards,
/Peter
Peter Bergin
peter.bergin@tritech.se
+46 733 35 21 05
www.tritech.se
+46 31 763 38 00
Nordstadstorget 6
SE-411 05 G?teborg, Sweden
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: icecc
2014-10-28 12:12 icecc Peter Bergin
@ 2014-11-14 9:10 ` Joseph Andrew de la Peña
2014-11-14 12:11 ` icecc Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Joseph Andrew de la Peña @ 2014-11-14 9:10 UTC (permalink / raw)
To: Peter Bergin; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2705 bytes --]
Good day Peter,
Maybe you want to verify first the prioritization of the layers in your
set-up.
Please execute bitbake-layers show-layers to really see if meta-yocto is
really executed after your layer (meta-mydist)
If you verified that it is,
please add in your conf/layer.conf, BBFILE_PRIORITY_mydist = "any number
after meta-yocto".
Maybe that will work for you.
Thanks,
-J
On Tue, Oct 28, 2014 at 8:12 PM, Peter Bergin <peter.bergin@tritech.se>
wrote:
> Hi,
>
> I am trying to get icecc working together with Poky (daisy branch). I
> follow the Yocto Project Reference Manual chapter "7.45. icecc.bbclass" and
> I can not get it working.
>
> The manual states that I on a distribution level can add the following:
>
> INHERIT_DISTRO += "icecc"
> ICECC_DISABLED ??= "1"
>
> This will make sure my builders use the same sstate signatures regardless
> if they use icecc or not. The way I did it to test was to create my own
> distro layer, called mydist, that inherits from Poky.
>
> $ cat ../meta-mydist/conf/distro/mydist.conf
>
> require conf/distro/poky.conf
>
> DISTRO = "mydist"
> DISTRO_NAME = "MyDist"
>
> INHERIT_DISTRO += "icecc"
> ICECC_DISABLED ??= "1"
>
> In my bblayers.conf I added this layer directly after the meta-yocto
> layer. But with this addition my build environment will not work anymore.
> What happens is that the variable INHERIT_DISTRO is overwritten because my
> layer is picked before the poky/meta/conf/distro/defaultsetup.conf. I get
> the same behaviour if i edit the poky.conf and not use my own distro.
>
> $ bitbake core-image-base -e
>
> ...
>
> #
> # $INHERIT_DISTRO [3 operations]
> # append /work/yocto/course/meta-mydist/conf/distro/mydist.conf:6
> # "icecc"
> # set? /work/yocto/course/poky/meta/conf/distro/defaultsetup.conf:22
> # "debian devshell sstate license"
> # set /work/yocto/course/poky/meta/conf/documentation.conf:226
> # [doc] "Lists classes that will be inherited at the distribution
> level. It is unlikely that you want to edit this variable."
> # computed:
> # " icecc"
> INHERIT_DISTRO=" icecc"
> #
>
> ...
>
> What is wrong here, documentation or my setup? Can someone give me advice?
>
> Regards,
> /Peter
>
>
>
>
>
>
> Peter Bergin
>
>
>
> peter.bergin@tritech.se
> +46 733 35 21 05
>
>
> www.tritech.se
> +46 31 763 38 00
> Nordstadstorget 6
> SE-411 05 G?teborg, Sweden
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
[-- Attachment #2: Type: text/html, Size: 4592 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: icecc
2014-11-14 9:10 ` icecc Joseph Andrew de la Peña
@ 2014-11-14 12:11 ` Martin Jansa
0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2014-11-14 12:11 UTC (permalink / raw)
To: Joseph Andrew de la Peña; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 3235 bytes --]
Try to use INHERIT_DISTRO_append.
On Fri, Nov 14, 2014 at 05:10:56PM +0800, Joseph Andrew de la Peña wrote:
> Good day Peter,
>
> Maybe you want to verify first the prioritization of the layers in your
> set-up.
> Please execute bitbake-layers show-layers to really see if meta-yocto is
> really executed after your layer (meta-mydist)
>
> If you verified that it is,
> please add in your conf/layer.conf, BBFILE_PRIORITY_mydist = "any number
> after meta-yocto".
>
> Maybe that will work for you.
>
> Thanks,
> -J
>
> On Tue, Oct 28, 2014 at 8:12 PM, Peter Bergin <peter.bergin@tritech.se>
> wrote:
>
> > Hi,
> >
> > I am trying to get icecc working together with Poky (daisy branch). I
> > follow the Yocto Project Reference Manual chapter "7.45. icecc.bbclass" and
> > I can not get it working.
> >
> > The manual states that I on a distribution level can add the following:
> >
> > INHERIT_DISTRO += "icecc"
> > ICECC_DISABLED ??= "1"
> >
> > This will make sure my builders use the same sstate signatures regardless
> > if they use icecc or not. The way I did it to test was to create my own
> > distro layer, called mydist, that inherits from Poky.
> >
> > $ cat ../meta-mydist/conf/distro/mydist.conf
> >
> > require conf/distro/poky.conf
> >
> > DISTRO = "mydist"
> > DISTRO_NAME = "MyDist"
> >
> > INHERIT_DISTRO += "icecc"
> > ICECC_DISABLED ??= "1"
> >
> > In my bblayers.conf I added this layer directly after the meta-yocto
> > layer. But with this addition my build environment will not work anymore.
> > What happens is that the variable INHERIT_DISTRO is overwritten because my
> > layer is picked before the poky/meta/conf/distro/defaultsetup.conf. I get
> > the same behaviour if i edit the poky.conf and not use my own distro.
> >
> > $ bitbake core-image-base -e
> >
> > ...
> >
> > #
> > # $INHERIT_DISTRO [3 operations]
> > # append /work/yocto/course/meta-mydist/conf/distro/mydist.conf:6
> > # "icecc"
> > # set? /work/yocto/course/poky/meta/conf/distro/defaultsetup.conf:22
> > # "debian devshell sstate license"
> > # set /work/yocto/course/poky/meta/conf/documentation.conf:226
> > # [doc] "Lists classes that will be inherited at the distribution
> > level. It is unlikely that you want to edit this variable."
> > # computed:
> > # " icecc"
> > INHERIT_DISTRO=" icecc"
> > #
> >
> > ...
> >
> > What is wrong here, documentation or my setup? Can someone give me advice?
> >
> > Regards,
> > /Peter
> >
> >
> >
> >
> >
> >
> > Peter Bergin
> >
> >
> >
> > peter.bergin@tritech.se
> > +46 733 35 21 05
> >
> >
> > www.tritech.se
> > +46 31 763 38 00
> > Nordstadstorget 6
> > SE-411 05 G?teborg, Sweden
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-14 12:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-28 12:12 icecc Peter Bergin
2014-11-14 9:10 ` icecc Joseph Andrew de la Peña
2014-11-14 12:11 ` icecc Martin Jansa
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.