[yocto] Using the yocto version of createrepo (want the MISSINGOK flag)
Ash Charles
ashcharles at gmail.com
Fri Apr 17 17:39:33 PDT 2015
On Fri, Apr 17, 2015 at 2:43 PM, Ash Charles <ashcharles at 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
More information about the yocto
mailing list