[meta-intel] [PATCH] jhi: fix QA failure for multilib build

Saini, Naveen Kumar naveen.kumar.saini at intel.com
Tue Jul 23 19:32:28 PDT 2019



On 7/24/19 9:29 AM, ChenQi wrote:
> On 07/23/2019 08:07 PM, Naveen Saini wrote:
>> CMakeLists.txt was using hard code path
>> to install tmpfiles.d/jhi.conf, which causing
>> QA issue during multilib build.
>>
>> Signed-off-by: Naveen Saini <naveen.kumar.saini at intel.com>
>> ---
>>   recipes-support/jhi/jhi_1.33.bb | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/recipes-support/jhi/jhi_1.33.bb 
>> b/recipes-support/jhi/jhi_1.33.bb
>> index 032f4d87..7f72dd72 100755
>> --- a/recipes-support/jhi/jhi_1.33.bb
>> +++ b/recipes-support/jhi/jhi_1.33.bb
>> @@ -32,6 +32,11 @@ EXTRA_OECMAKE = "-DCMAKE_SKIP_RPATH=ON \
>>                    
>> -DAPP_REPO_DIR=${localstatedir}/cache/dal/applet_repository \
>>                    "
>> +do_configure_prepend() {
>> +    sed -i -e s:/usr/lib/tmpfiles.d:${libdir}/tmpfiles.d:g 
>> ${S}/CMakeLists.txt
> 
> I'm wondering if tmpfiles.d should remain in /usr/lib. Maybe you need to 
> change FILES.

You are right. We need to keep tmpfiles.d in /usr/lib.

Found info here:
http://man7.org/linux/man-pages/man5/tmpfiles.d.5.html

> 
>> +    sed -i -e s:/usr/lib:${libdir}:g 
>> ${S}/service/linux/mk_applet_repo_dir.sh
>> +}
>> +
>>   do_install_append () {
>>           install -d ${D}${localstatedir}/cache/dal/applet_repository
> 
> 


More information about the meta-intel mailing list