On Mon, Apr 11, 2022 at 9:05 AM Bruce Ashfield via lists.yoctoproject.org
<[email protected]> wrote:

>
>
> On Mon, Apr 11, 2022 at 9:01 AM Chen, Qi <[email protected]> wrote:
>
>> Hi Bruce & Preeti,
>>
>>
>>
>> I was trying to fix the same issue when I found this thread.
>>
>> This issue appears when multilib is enabled.
>>
>>
>>
>> When multilib is disabled, ${libdir} is /usr/lib, thus packaging the file
>> into libvirt-python.
>>
>> When multilib is enabled, ${libdir} is /usr/lib64, and the file is not
>> packaged.
>>
>
> Aha. Right you are.
>
> So we should tweak libvirt to use ${libdir} and not the hardcoded
> /user/lib (which it never really should have been), and package anything
> that gets installed into sysctl.d/
>
> It isn't clear that this particular .conf belongs in libvirtd, but it is
> just as good there, as in the libvirt-python.
>
> I'll do some tests in the non-multiconfig configuration to ensure that
> everything still packages properly.
>

I've pushed my WIP patch here:

https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next

Bruce



>
> Bruce
>
>
>
>>
>>
>> Regards,
>>
>> Qi
>>
>>
>>
>> *From:* [email protected] <
>> [email protected]> *On Behalf Of *Bruce Ashfield
>> *Sent:* Monday, April 11, 2022 8:44 PM
>> *To:* [email protected]
>> *Cc:* [email protected]
>> *Subject:* Re: [meta-virtualization] [PATCH] libvirt: fix do_package
>> issue
>>
>>
>>
>> There's definitely something different in your configuration, so that
>> needs to be understood first.
>>
>>
>>
>> That file is packaged as part of libvirt-python here, and should be the
>> same for others, as I haven't had any reports of failures.
>>
>>
>>
>> You have a multiconfig in play. Anything else ? What is your init system
>> ? Any bbappends in play ?
>>
>>
>>
>> Bruce
>>
>>
>>
>> On Sun, Apr 10, 2022 at 11:49 PM <[email protected]> wrote:
>>
>> ERROR: mc:x86-2020:libvirt-8.1.0-r0 do_package: QA Issue: libvirt:
>> Files/directories were installed but not shipped in any package:
>>
>>   /usr/lib/sysctl.d/60-qemu-postcopy-migration.conf
>>
>> Please set FILES such that these items are packaged. Alternatively if
>> they are unneeded, avoid installing them or delete them within do_install.
>>
>> libvirt: 1 installed and not shipped files. [installed-vs-shipped]
>>
>> ERROR: mc:x86-2020:libvirt-8.1.0-r0 do_package: Fatal QA errors were
>> found, failing task.
>>
>>
>>
>>
>>
>>
>> --
>>
>> - Thou shalt not follow the NULL pointer, for chaos and madness await
>> thee at its end
>> - "Use the force Harry" - Gandalf, Star Trek II
>>
>
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await thee
> at its end
> - "Use the force Harry" - Gandalf, Star Trek II
>
>
> 
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7154): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7154
Mute This Topic: https://lists.yoctoproject.org/mt/90385357/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to