[OE-core] [PATCH 1/1] msmtp: fix postinstall to avoid do_rootfs failure

Adrian Bunk bunk at stusta.de
Mon Jul 15 06:17:29 UTC 2019


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

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Openembedded-core mailing list