[OE-core] [PATCH 3/4] update-alternatives.bbclass: run update-alternatives firstly in postinst script
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Jun 20 15:33:55 UTC 2019
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 <liezhi.yang at windriver.com>
> ---
> 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
More information about the Openembedded-core
mailing list