[oe] [PATCH] minimal: add weak assigned DISTRO_FEED_CONFIGS variable

Simon Busch morphis at gravedo.de
Fri Jun 3 16:07:53 UTC 2011


On 02.06.2011 16:48, Martin Jansa wrote:
> On Thu, Jun 02, 2011 at 04:44:27PM +0200, Simon Busch wrote:
>> Some distros are based on the minimal distro but want to supply another feed configuration.
>> As minimal uses DISTRO_EXTRA_RDEPENDS to pull distro-feed-configs into the builded image
>> the new weak assigned variable DISTRO_FEED_CONFIGS makes it possible to specify another
>> feed configuration.
> 
> isn't
> DISTRO_FEED_PREFIX
> DISTRO_FEED_URI
> in
> recipes/meta/distro-feed-configs.bb
> enought to modify default distro-feed-configs?
> 
> and if not cannot we change distro-feed-configs.bb to allow such
> modifications?

Maybe you are right and it is the better solution to stay with
distro-feed-configs.bb as general solution. The details why I did an own
feed configuration is I don't want all PACKAGE_EXTRA_ARCHS as additional
feed configs. Why should a image which is flashed to a armv4 device pull
the feed configs for a armv7a?

When I have a armv7a device it only needs to get the armv7 +
MACHINE_ARCH + all feed configs from the remote host for an update and
nothing more.

The best solution to archive this is as far as I see to make
distro-feed-configs machine specific and don't add PACKAGE_EXTRA_ARCHS
as feed configuration anymore. For poky-feed-config-opkg in oe-core it's
already the case.

regards,
Simon




More information about the Openembedded-devel mailing list