[OE-core] [PATCH] package-deb: Ignore circular dependencies

Aníbal Limón anibal.limon at linux.intel.com
Wed Mar 9 20:54:40 UTC 2016



On 03/09/2016 02:47 PM, Aníbal Limón wrote:
> 
> 
> On 03/09/2016 02:33 PM, Burton, Ross wrote:
>> On 9 March 2016 at 18:19, Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com
>>> wrote:
>>
>>> +                        bb.warn("Package %s rdepends on itself. Ignoring
>>> this dependency" % pkg)
>>>
>>
>> Depending on yourself seems wrong no matter what packaging backend you're
>> using, even if it isn't fatal.  Maybe this should be added to the general
>> sanity checks in insane.bbclass?
> 
> I agree that this situation could happen in other package management
> backends, i don't now if at insane class level we could access the
> dependency tree of the recipes/packages, i like the idea for more
> general mechanism.

I forget to mention will be good if also handle circular dependencies
between recipe/packages. A time ago i added this support on postinst
scripts in package_{deb,ipk} [1].

[1]
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/lib/oe?id=b2c9e7347acdfd0efe1c3dabb853d609233b61b6



> 
>     alimon
> 
> 
>>
>> Ross
>>
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160309/986b272f/attachment-0002.sig>


More information about the Openembedded-core mailing list