Re: [OE-core] [PATCH v2 1/2] update-alternatives.bbclass: run update-alternatives firstly in postinst script

2019-06-26 Thread Robert Yang
On 6/25/19 10:14 PM, Richard Purdie wrote: On Tue, 2019-06-25 at 20:44 +0800, Robert Yang wrote: Recipes like postfix run command newaliases in postinst, but newaliases is installed as newaliases.postfix, it needs run update-alternatives to update it to newaliases, so there was an error when

Re: [OE-core] [PATCH v2 1/2] update-alternatives.bbclass: run update-alternatives firstly in postinst script

2019-06-25 Thread Richard Purdie
On Tue, 2019-06-25 at 20:44 +0800, Robert Yang wrote: > Recipes like postfix run command newaliases in postinst, but newaliases is > installed as newaliases.postfix, it needs run update-alternatives to update it > to newaliases, so there was an error when installed postinst on target. > > Fixed:

[OE-core] [PATCH v2 1/2] update-alternatives.bbclass: run update-alternatives firstly in postinst script

2019-06-25 Thread Robert Yang
Recipes like postfix run command newaliases in postinst, but newaliases is installed as newaliases.postfix, it needs run update-alternatives to update it to newaliases, so there was an error when installed postinst on target. Fixed: $ opkg install postfix Configuring postfix.