<div dir="ltr">Your layer has to be before poky/meta in BBLAYERS, as that determines BBPATH, which is how bbclasses and config files are found (much like PATH).<br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 17, 2018 at 12:11 PM Davis Roman &lt;<a href="mailto:davis.roman84@gmail.com">davis.roman84@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
<br>
I&#39;ve made a modification in poky/meta/classes/libc-package.bbclass (<br>
shown below)<br>
<br>
However I don&#39;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&#39;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(&quot;locale_arch_options not found for<br>
target_arch=&quot; + target_arch)<br>
                 raise bb.build.FuncFailed(&quot;unknown arch:&quot; +<br>
target_arch + &quot; for locale_arch_options&quot;)<br>
<br>
-            localedef_opts += &quot; --force --old-style --no-archive --prefix=%s \<br>
+            localedef_opts += &quot; --force --no-archive --prefix=%s \<br>
                 --inputfile=%s/%s/i18n/locales/%s --charmap=%s %s/%s&quot; \<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 = &quot;--force --old-style --no-archive --prefix=%s \<br>
+            localedef_opts = &quot;--force --no-archive --prefix=%s \<br>
                 --inputfile=%s/i18n/locales/%s --charmap=%s %s&quot; \<br>
                 % (treedir, datadir, locale, encoding, name)<br>
-- <br>
_______________________________________________<br>
bitbake-devel mailing list<br>
<a href="mailto:bitbake-devel@lists.openembedded.org" target="_blank">bitbake-devel@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/bitbake-devel" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/bitbake-devel</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_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>