[OE-core] [PATCH 0/9] recipe updates, testing fixes

Khem Raj raj.khem at gmail.com
Fri Feb 14 19:42:01 UTC 2020


On Fri, Feb 14, 2020 at 11:21 AM Alexander Kanavin <alex.kanavin at gmail.com>
wrote:

> I got to it finally. Normally /var/lib/rpm is absent when opkg is in use,
> but when /usr/bin/rpm is present, python3's ptest involves distutils test
> creating rpm packages (and presumably installing them too), which creates a
> database in /var/lib/rpm, which then triggers rpm tests to run and fail. So
> a check for /var/lib/rpm in rpm tests isn't always sufficient to determine
> which packaging system is in use, and there should be a stronger one.
>
> I'm fine with adjusting libsolv to not pull in rpm, but please use
> EXCLUDE_FROM_WORLD instead of PNBLACKLIST, so that just that specific
> problem is solved, rather than banning libdnf/dnf altogether from builds.
>

Blacklisting is superior since this will also catch accidental inclusion of
these packages when not using rpm backend where as EXCLUDE_FROM_WORLD will
only be effective on word target


> Making libdnf to not require rpm-enabled libsolv is not feasible sadly,
> it's basically built around that assumption.
>

Exactly


>
> Alex
>
> On Fri, 14 Feb 2020 at 13:19, Alexander Kanavin <alex.kanavin at gmail.com>
> wrote:
>
>> On Fri, 14 Feb 2020 at 08:15, Khem Raj <raj.khem at gmail.com> wrote:
>>
>>> local.conf I have
>>>
>>> DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam
>>> polkit "
>>> IMAGE_CLASSES += "testimage testsdk"
>>>
>>
>> Right, I'm running this now, it's a bit tricky because I have to do it on
>> the Yocto AB. Big company's bureaucracy is causing delays in getting me a
>> build machine :(
>>
>> Alex
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200214/a05a4d40/attachment.html>


More information about the Openembedded-core mailing list