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

Martin Jansa martin.jansa at gmail.com
Thu Jun 2 14:48:29 UTC 2011


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?

Regards,

> 
> Signed-off-by: Simon Busch <morphis at gravedo.de>
> ---
>  conf/distro/minimal.conf |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf
> index 18bcfae..edac24f 100644
> --- a/conf/distro/minimal.conf
> +++ b/conf/distro/minimal.conf
> @@ -53,6 +53,8 @@ INHERIT += "package_ipk"
>  IMAGE_FSTYPES ?= "tar.gz jffs2"
>  PREFERRED_PKG_FORMAT ?= "ipk"
>  
> +DISTRO_FEED_CONFIGS ?= "distro-feed-configs"
> +
>  # Put links to sources in deploy/sources to make it easier for people to be GPL compliant
>  INHERIT += "src_distribute_local"
>  SRC_DIST_LOCAL ?= "symlink"
> @@ -135,7 +137,7 @@ DISTRO_EXTRA_APPS += '${@base_conditional("DISTRO_TYPE", "release", "", "task-cl
>  # util-linux-ng-mount util-linux-ng-umount: busybox mount is broken
>  # angstrom-libc-fixup-hack: fixes an obscure bug with libc.so symlink
>  DISTRO_EXTRA_RDEPENDS += "\
> -  distro-feed-configs \
> +  ${DISTRO_FEED_CONFIGS} \
>    util-linux-ng-mount util-linux-ng-umount \
>    angstrom-libc-fixup-hack \
>    ${DISTRO_EXTRA_APPS} \
> -- 
> 1.7.4.1
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110602/698c2062/attachment-0002.sig>


More information about the Openembedded-devel mailing list