<div dir="auto">Hi Christopher,<div dir="auto"><br></div><div dir="auto">I think I get it now.</div><div dir="auto"><br></div><div dir="auto">Thank you so much for your time!</div><div dir="auto"><br></div><div dir="auto">Davis</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 17, 2018, 6:57 PM Christopher Larson <<a href="mailto:kergoth@gmail.com">kergoth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Layer priority as defined by BBFILE_PRIORITY controls recipe selection, not bbclass and config file parsing. See the bitbake reference manual for more detail.<br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 17, 2018 at 3:54 PM Davis Roman <<a href="mailto:davis.roman84@gmail.com" target="_blank" rel="noreferrer">davis.roman84@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Christopher,<br>
<br>
I am very intrigued by your response.<br>
<br>
Initially I had mentioned that the 'bitbake-layers show-layers'<br>
command indicates that my layer, meta-hon-grip, has a priority of 8<br>
which is among the highest while the meta layer only has a priority of<br>
5.<br>
<br>
However, now that you mentioned the bblayers.conf file, I see that the<br>
meta-hon-grip layer is defined after the meta layer.<br>
<br>
Therefore it appears to me that my bblayers.conf contradicts<br>
'bitbake-layers show-layers'<br>
<br>
Could you please help me make sense of this?<br>
<br>
Thank you,<br>
<br>
Davis<br>
<br>
<br>
--------------------------------------------------------------------------------------------<br>
<br>
POKY_BBLAYERS_CONF_VERSION = "2"<br>
<br>
BBPATH = "${TOPDIR}"<br>
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True))<br>
+ '/../..')}"<br>
<br>
BBFILES ?= ""<br>
BBLAYERS = " \<br>
${BSPDIR}/sources/poky/meta \<br>
${BSPDIR}/sources/poky/meta-poky \<br>
\<br>
${BSPDIR}/sources/meta-openembedded/meta-oe \<br>
${BSPDIR}/sources/meta-openembedded/meta-multimedia \<br>
\<br>
${BSPDIR}/sources/meta-fsl-arm \<br>
${BSPDIR}/sources/meta-fsl-arm-extra \<br>
${BSPDIR}/sources/meta-fsl-demos \<br>
"<br>
##Freescale Yocto Project Release layer<br>
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-bsp "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-sdk "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-browser "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-gnome "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-networking "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-python "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-filesystems "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-qt5 "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-hon-grip "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-java "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-swupdate "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-bc "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-updater "<br>
BBLAYERS += " ${BSPDIR}/sources/meta-gplv2 "<br>
<br>
On Fri, Aug 17, 2018 at 6:01 PM, Christopher Larson <<a href="mailto:kergoth@gmail.com" target="_blank" rel="noreferrer">kergoth@gmail.com</a>> wrote:<br>
> Your layer has to be before poky/meta in BBLAYERS, as that determines<br>
> BBPATH, which is how bbclasses and config files are found (much like PATH).<br>
><br>
> On Fri, Aug 17, 2018 at 12:11 PM Davis Roman <<a href="mailto:davis.roman84@gmail.com" target="_blank" rel="noreferrer">davis.roman84@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hello!<br>
>><br>
>><br>
>> I've made a modification in poky/meta/classes/libc-package.bbclass (<br>
>> shown below)<br>
>><br>
>> However I don't want this change to be stored here long term and<br>
>> instead feel that it should live in my project specific layer,<br>
>> meta-hon-grip.<br>
>><br>
>> After checking with bitbake-layers, I saw that my layer has a higher<br>
>> priority than the poky layer so my layer should be checked first ( or<br>
>> so I thought)<br>
>><br>
>> I copied the modified version of libc-packages.bbclass into<br>
>> meta-hon-grip/classes and I restored the version in the poky layer to<br>
>> its original state.<br>
>><br>
>> After making this change, I found that the modified version in my<br>
>> layer is not being used and instead the version in the poky layer is<br>
>> the one in play.<br>
>><br>
>> I'm trying to figure out what else to try.<br>
>><br>
>> Any suggestions would be greatly appreciated!<br>
>><br>
>> Thank you,<br>
>><br>
>> Davis<br>
>><br>
>> diff --git a/meta/classes/libc-package.bbclass<br>
>> b/meta/classes/libc-package.bbclass<br>
>> index 467d567..72d447a 100644<br>
>> --- a/meta/classes/libc-package.bbclass<br>
>> +++ b/meta/classes/libc-package.bbclass<br>
>> @@ -287,7 +287,7 @@ python package_do_split_gconvs () {<br>
>> bb.error("locale_arch_options not found for<br>
>> target_arch=" + target_arch)<br>
>> raise bb.build.FuncFailed("unknown arch:" +<br>
>> target_arch + " for locale_arch_options")<br>
>><br>
>> - localedef_opts += " --force --old-style --no-archive<br>
>> --prefix=%s \<br>
>> + localedef_opts += " --force --no-archive --prefix=%s \<br>
>> --inputfile=%s/%s/i18n/locales/%s --charmap=%s %s/%s" \<br>
>> % (treedir, treedir, datadir, locale, encoding,<br>
>> outputpath, name)<br>
>><br>
>> @@ -295,7 +295,7 @@ python package_do_split_gconvs () {<br>
>> (path, i18npath, gconvpath, localedef_opts)<br>
>> else: # earlier slower qemu way<br>
>> qemu = qemu_target_binary(d)<br>
>> - localedef_opts = "--force --old-style --no-archive<br>
>> --prefix=%s \<br>
>> + localedef_opts = "--force --no-archive --prefix=%s \<br>
>> --inputfile=%s/i18n/locales/%s --charmap=%s %s" \<br>
>> % (treedir, datadir, locale, encoding, name)<br>
>> --<br>
>> _______________________________________________<br>
>> bitbake-devel mailing list<br>
>> <a href="mailto:bitbake-devel@lists.openembedded.org" target="_blank" rel="noreferrer">bitbake-devel@lists.openembedded.org</a><br>
>> <a href="http://lists.openembedded.org/mailman/listinfo/bitbake-devel" rel="noreferrer noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/bitbake-devel</a><br>
><br>
><br>
><br>
> --<br>
> Christopher Larson<br>
> kergoth at gmail dot com<br>
> Founder - BitBake, OpenEmbedded, OpenZaurus<br>
> Senior Software Engineer, Mentor Graphics<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="m_-634991155681125989gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Senior Software Engineer, Mentor Graphics</div></div></div></div>
</blockquote></div>