meta-virtualization/recipes-extended/libvirt
Chen Qi 915c43874d libvirt: do not defer postinstall to first boot when not necessary
The postinstall invokes `/etc/init.d/populate-volatile.sh update'.
This is only useful for an on-target package upgrade. For now,
this postinstall in libvirt has already got a check against $D to
tell whether it's running on target or not, we do not need to use
pkg_postinstall_ontarget. Otherwise, we get unnecessary postinstall
deferred to first boot, which is not what we want.

Note that the postinstall was originally written as 'pkg_postinstall_${PN}',
but was incorrectly modified to be 'pkg_postinstall_ontarget_${PN}' by the
following commit.

  """
  commit 1e67a44db7
  Author: He Zhe <zhe.he@windriver.com>
  Date:   Tue Jul 24 05:50:01 2018 -0700

      libvirt: Remove unsupported configure options and fix warning

  [snip]
  """

I think the warning about deferred postinstall was caused by some bbappend
file instead of the main recipe in this layer.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-10-16 10:25:36 -04:00
..
libvirt libvirt: backport LXC AB / BA deadlock fix 2018-09-30 21:31:14 -04:00
libvirt_4.7.0.bb libvirt: do not defer postinstall to first boot when not necessary 2018-10-16 10:25:36 -04:00
libvirt-python.inc libvirt: uprev to v4.7.0 2018-09-30 21:31:14 -04:00