Hi,

I can reproduce it now, sorry about that, I'm working on it.

// Robert

On 6/20/19 11:33 PM, Richard Purdie wrote:
On Thu, 2019-06-20 at 16:15 +0800, Robert Yang wrote:
Recipes like postfix run command newaliases in postinst, but
newaliases is
installed newaliases.postfix, and need run update-alternatives to
update it to
newaliases, so we would get the error when install postinst on
target.

Fixed:
$ opkg install postfix
Configuring postfix.
///var/lib/opkg/info/postfix.postinst: line 4: newaliases: command
not found

Run update-alternatives firstly will fix the problem.

Signed-off-by: Robert Yang <[email protected]>
---
  meta/classes/update-alternatives.bbclass | 7 +++++--
  1 file changed, 5 insertions(+), 2 deletions(-)

This seemed to result in:

https://autobuilder.yoctoproject.org/typhoon/#/builders/61/builds/724

Cheers,

Richard


--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to