Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Chen Qi <Qi.Chen@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] msmtp: fix postinstall to avoid do_rootfs failure
Date: Mon, 15 Jul 2019 09:17:29 +0300	[thread overview]
Message-ID: <20190715061729.GA21719@localhost> (raw)
In-Reply-To: <c383309fe15b52683ac90b50d4305922c338b470.1563168887.git.Qi.Chen@windriver.com>

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



  reply	other threads:[~2019-07-15  6:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15  5:35 [PATCH 0/1] msmtp: fix postinstall to avoid do_rootfs failure Chen Qi
2019-07-15  5:35 ` [PATCH 1/1] " Chen Qi
2019-07-15  6:17   ` Adrian Bunk [this message]
2019-07-15  6:40     ` ChenQi
2019-07-15  6:44       ` Adrian Bunk
2019-07-15  8:38         ` ChenQi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190715061729.GA21719@localhost \
    --to=bunk@stusta.de \
    --cc=Qi.Chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox