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

Paul Barker paul at paulbarker.me.uk
Fri Jan 17 12:15:48 UTC 2014


On 17 January 2014 10:47, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> 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
>
> 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.
>

Ok, let me know if there's anything left that I need to fix after the
next autobuilder run.

> 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...
>

Most of the functionality of opkg-utils (other than
update-alternatives) does depend on python so I think this would
result in an opkg-utils package which doesn't run if installed on the
target. For tiny it might be better to have an
'update-alternatives-only' PACKAGECONFIG which is set for the target
class only and prevents the installation and packaging of all the
package creation & inspection tools.

-- 
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk



More information about the Openembedded-core mailing list