[OE-core] [PATCH 4/4] msmtp: add link to ${libdir}/sendmail

Richard Purdie richard.purdie at linuxfoundation.org
Wed Nov 21 20:56:01 UTC 2012


On Wed, 2012-11-21 at 15:37 -0200, Otavio Salvador wrote:
> On Wed, Nov 21, 2012 at 3:34 PM, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> > On Wed, 2012-11-21 at 09:28 -0200, Otavio Salvador wrote:
> >> On Wed, Nov 21, 2012 at 7:38 AM, Kang Kai <kai.kang at windriver.com> wrote:
> >> > LSB tests check file ${libdir}/sendmail, and the file was created by
> >> > package lsbsetup. Because lsbsetup is dropped, create the link in msmtp.
> >> >
> >> > Signed-off-by: Kang Kai <kai.kang at windriver.com>
> >>
> >> I think it is wrong. You should to use alternatives for it.
> >
> > Not necessarily, its not a file conflict problem, it just needs to exist
> > at all...
> 
> What if I want to use another smtp and still be lsb compliance?

The issue is we already have the "sendmail" bindir entry under update
alternatives control so this means adding an alternative of the
alternative which I think is getting convoluted. Ideally this symlink
just needs to exist which ever smtp is installed.

So I think the better answer may be to move the link to the lsbtest
suite, or some kind of lsb-collateral package.

Cheers,

Richard






More information about the Openembedded-core mailing list