[OE-core] [PATCH v2 0/3] Change update-alternatives provider

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jan 17 10:47:03 UTC 2014


On Thu, 2014-01-16 at 17:59 +0000, Paul Barker wrote:
> The update-alternatives script has been copied from opkg to opkg-utils so the
> openembedded recipe for opkg-utils is updated accordingly. Changing the default
> provider of update-alternatives to opkg-utils allows dependencies to be added to
> the opkg recipe without causing circular dependency loops. This series partially
> solves Yocto Project issue 4836.
> 
> Changes in v2:
> 
>     - Reordered variables in opkg-utils recipe
>     - Added nativesdk class to opkg-utils
> 
> Paul Barker (3):
>   opkg-utils: Upgrade to latest git HEAD
>   default-providers: Change update-alternatives provider to opkg-utils
>   opkg: No longer PROVIDES update-alternatives
> 
>  meta/conf/distro/include/default-providers.inc     |  6 +++---
>  meta/recipes-devtools/opkg-utils/opkg-utils_git.bb |  9 +++++++--
>  meta/recipes-devtools/opkg/opkg.inc                | 12 +++---------
>  3 files changed, 13 insertions(+), 14 deletions(-)

The errors still occurred on the autobuilder with the revised patchset.
I tracked down a couple of issues and have sent out patches for those.

We do however have one more problematic regression:

http://autobuilder.yoctoproject.org/main/builders/poky-tiny/builds/1/steps/BuildImages/logs/stdio

Basically, the tiny configuration is quite cut down and we can't build
python with it. Before this change we were able to build opkg and all
was well. Now we need to build opkg-utils which depends on python.

We're therefore building python when we never used to (due to the python
scripts in opkg-utils).

I suspect to resolve this and allow tiny to work again we'll have to put
a PACKAGECONFIG on opkg-utils and disable python for tiny...

Cheers,

Richard






More information about the Openembedded-core mailing list