[yocto] Postinstallation script warnings in Yocto 2.4 Rocko
Alexander Kanavin
alexander.kanavin at linux.intel.com
Mon Jan 8 04:36:12 PST 2018
On 01/08/2018 02:31 PM, Martin Hundebøll wrote:
>
>
> On 2018-01-08 13:19, Alexander Kanavin wrote:
>>> The problem is that in Yocto 2.4 then any build which requires
>>> on-target postinstallation script is going to trigger warning, even
>>> if it is completely correct. Is there no way around this? Is there a
>>> way to at least hide them?
>> You can set self.log_check_expected_regexes in RpmRootfs class in
>> meta/lib/oe/rootfs.py, but
>>
>> a) depending on how broad your regex is, you might suppress real
>> failures of the scriptlets;
>>
>> b) it would be only your local hack until the issue is resolved properly.
>
> Would changing to dpkg/opkg be a work-around?
A workaround for the annoying warning, maybe, a work-around for the
issue at hand (how to defer to first boot), no.
Alex
More information about the yocto
mailing list