On 07/15/2019 02:17 PM, Adrian Bunk wrote:
On Mon, Jul 15, 2019 at 01:35:15PM +0800, Chen Qi wrote:
When lsb is enabled, that is, 'linuxstdbase' is in OVERRIDES,
do_rootfs would fail if both 'msmtp' and 'postfix' are installed.
This is because they both try to create /usr/lib/sendmail link if
it does not exist. So we need to fix the check to avoid non-zero
exit status.
...
This would make it random (depending on installation order) which is
linked to, and it could also make ${sbindir}/sendmail and
$D/usr/lib/sendmail point to different programs.
It would be better to make $D/usr/lib/sendmail also an alternative in
all packages that provide sendmail.
cu
Adrian
I don't think we should mix linuxstdbase and ALTERNATIVES setting. It
makes things complicated.
As ALTERNATIVES_PRIORITY is higher in postfix, I'll just remove the
check in postfix and use 'ln -sf' directly.
Can you accept this solution?
Regards,
Chen Qi
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core