On Fri, Apr 17, 2015 at 2:43 PM, Ash Charles <ashchar...@gmail.com> wrote:
> 2. BBCLASSEXTEND nativesdk for createrepo and add it to the
> buildtools-tarball.bb recipe.  This feels like the best option.  But
> the python environment doesn't get picked up properly...e.g.
> Traceback (most recent call last):
>   File 
> "/opt/poky/1.7.1/sysroots/x86_64-pokysdk-linux/usr/share/createrepo/genpkgmetadata.py",
> line 26, in <module>
>     import rpm
> ImportError: No module named rpm

Option 2 seems to be working nicely.  I just needed to add a few extra
packages too:
    nativesdk-createrepo \
    nativesdk-python-rpm \
    nativesdk-python-smartpm \
    nativesdk-libxml2-python \

--Ash
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to