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

Simon Busch morphis at gravedo.de
Thu Jun 2 14:44:27 UTC 2011


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.

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





More information about the Openembedded-devel mailing list