[oe] [PATCH] Remove redundant dependencies upon opkg and opkg-collateral.

Graham Gower graham.gower at gmail.com
Sat Aug 7 01:29:57 UTC 2010


On 6 August 2010 23:24, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Thu, Aug 5, 2010 at 4:15 PM, Chris Larson <clarson at kergoth.com> wrote:
>> On Wed, Aug 4, 2010 at 11:58 PM, Graham Gower <graham.gower at gmail.com>wrote:
>>
>>> rootfs_ipk.bbclass already pulls these in, so avoid some confusion.
>>>
>>> This is totally untested.
>>>
>>> Signed-off-by: Graham Gower <graham.gower at gmail.com>
>>>
>>
>> Looks reasonable to me.
>>
>> Acked-by: Chris Larson <clarson at kergoth.com>
>
> I've already pushed it, but too late I noticed that only rootfs_ipk is
> handling DISTRO_PACKAGE_MANAGER and rpm/deb based rootfs will probably
> loose DISTRO_PACKAGE_MANAGER from image.
>
> Should I revert now or can we fix it soon?
>

DISTRO_PACKAGE_MANAGER has been removed altogether. I can't see how it
would work reliably for all images - which is probably why it had
multiple definitions in the first place. And you could still end up
with opkg in your image when setting it to something else, e.g.
minimal-gpe-image and slugos pulled opkg in unconditionally.
DISTRO_PACKAGE_MANAGER could be fixed if it was put in a common
location like image.bbclass.

What is the intended mechanism for selecting a package manager?
INHERIT = "package_foo" looks like its going to do the trick for ipk
and deb. package_rpm.bbclass might need BOOTSTRAP_EXTRA_RDEPENDS +=
"rpm" or something.

-Graham




More information about the Openembedded-devel mailing list