V2 doesn't use alternative to handle /usr/lib/sendmail either. Because the link target is alway ${sbindir}/sendmail, update-alternative can't handle this kind of case.
So check whether /usr/lib/sendmail exists and is a link file, otherwise create it during pkg_postinst of packages such as msmtp postfix and esmtp which provide ${sbindir}/sendmail. Only one flaw is when all these packages are removed, broken link file /usr/lib/sendmail left. The following changes since commit 8ce2f2c3549248b2aa1259ceb28ed03be166ac6f: maintainers.inc: Became maintainer of python2 and python3 (2015-03-09 16:01:08 +0000) are available in the git repository at: git://git.yoctoproject.org/poky-contrib kangkai/lsb-20150310 http://git.yoctoproject.org/cgit.cgi//log/?h=kangkai/lsb-20150310 Kai Kang (3): systemd: correct permission mode of /var/volatile/tmp lsb: update init-functions and remove sendmail msmtp: add link file /usr/lib/sendmail .../recipes-core/systemd/systemd/00-create-volatile.conf | 2 +- meta/recipes-extended/lsb/lsb_4.1.bb | 16 +++------------- meta/recipes-extended/msmtp/msmtp_1.6.1.bb | 5 +++++ 3 files changed, 9 insertions(+), 14 deletions(-) -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core