<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 7, 2015 at 3:39 AM, Fabrice Coulon <span dir="ltr">&lt;<a href="mailto:fabrice.coulon@axis.com" target="_blank">fabrice.coulon@axis.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2a9" class="a3s" style="overflow:hidden">I have a problem when using useradd_base.<span class="il">bbclass</span> together with native.<br>
${sysconfdir} is BUILDDIR/tmp/sysroots/x86_64-linux/etc for native,<br>
and ${sysconfdir} is &quot;/etc&quot; for target.<br>
<br>
rootdir is BUILDDIR/tmp/sysroots/x86_64-linux for native, so,<br>
$rootdir${sysconfdir} is not correct for native.<br>
<br>
The solution for me was to replace instances of $rootdir${sysconfdir}<br>
with $rootdir/etc under perform_groupmems.<br>
<br>
Signed-off-by: Fabrice Coulon &lt;<a href="mailto:fabrice.coulon@axis.com">fabrice.coulon@axis.com</a>&gt;</div></blockquote></div><br>Hardcoding a path is *not* an appropriate fix.<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>