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

Otavio Salvador otavio at ossystems.com.br
Wed Nov 21 20:57:35 UTC 2012


On Wed, Nov 21, 2012 at 6:56 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> 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.

This is a nicer solution indeed as this allow for reuse of same
solution among other packages.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list