[OE-core] [PATCH 1/1] oeqa/runtime/cases/rpm.py: change to use base-passwd-doc

ChenQi Qi.Chen at windriver.com
Thu Jun 14 07:29:17 UTC 2018


On 06/14/2018 02:57 PM, Alexander Kanavin wrote:
> 2018-06-14 7:52 GMT+03:00 Chen Qi <Qi.Chen at windriver.com>:
>> The test cases assume that rpm-doc is built out, as it says it its
>> comment. This is not always true. And it sometimes results in
>> following error.
>>
>>    |     cls.tc.target.copyTo(test_file, dst)
>>    | UnboundLocalError: local variable 'test_file' referenced before assignment
> Wait, you need to explain this further. What is the situation when it
> isn't true?
>
> Alex
>

Hi Alex,

For any image that does not have rpm installed, rpm package is not 
likely to be built out.
Having PACKAGE_CLASSES set to "package_rpm" will only ensure rpm-native 
to be built out.

Best Regards,
Chen Qi



More information about the Openembedded-core mailing list