Re: [OE-core] [PATCH v4] opkg-utils: Change alternatives lib path from /usr/lib/opkg to /var/lib/opkg

2017-10-31 Thread Martin Jansa
Do you realize that this completely break the existing alternatives on target when upgrading from the binary feed? In oe-classic days I wrote migration script executed in postinst to recover from the worst breakage, but it still wasn't ideal. On Tue, Oct 31, 2017 at 3:12 AM, Li Zhou wrote: > Whe

[OE-core] [PATCH v4] opkg-utils: Change alternatives lib path from /usr/lib/opkg to /var/lib/opkg

2017-10-30 Thread Li Zhou
When update-alternatives is moved from opkg to opkg-utils, a line in the file is changed from to . But opkglibdir doesn't equal to "/usr/lib" here, but equal to "/var/lib" in oe-core build by configuring --with-opkglibdir. opkg-utils can't get the var value in opkg, so here define OPKGLIBDIR to s