On 01/08/2018 01:44 PM, Diaz de Grenu, Jose wrote:

Thanks for the information. I guess this fix will be for Yocto 2.5?

Maybe; I'm working right now on the patchset, and will post it to
oe-core list later today. Last time it was a bit controversial, so I'd
appreciate if you a) try and test it; b) express your support for the
changes ;)

Work in progress here:

https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/dnf-rpm4-postinst-fix

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.

Alex
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to