All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] task-boot.bb: Don't pull in u-a if ONLINE_PACKAGE_MANAGEMENT="none".
@ 2010-08-10  7:13 Graham Gower
  0 siblings, 0 replies; only message in thread
From: Graham Gower @ 2010-08-10  7:13 UTC (permalink / raw)
  To: openembedded-devel

This makes it possible to build an opkgless system, without having to set
DISTRO_UPDATE_ALTERNATIVES. In the unlikely event that someone doesn't want
opkg, but does want update-alternatives, one can set DISTRO_UPDATE_ALTERNATIVES
in the local.conf.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
 recipes/tasks/task-boot.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/tasks/task-boot.bb b/recipes/tasks/task-boot.bb
index 45d50ef..d193393 100644
--- a/recipes/tasks/task-boot.bb
+++ b/recipes/tasks/task-boot.bb
@@ -17,7 +17,7 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
 # u-a script used for building image which is defined with
 # PREFERRED_PROVIDER_virtual/update-alternatives-native
 
-DISTRO_UPDATE_ALTERNATIVES ?= "${PREFERRED_PROVIDER_virtual/update-alternatives}"
+DISTRO_UPDATE_ALTERNATIVES ?= "${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${PREFERRED_PROVIDER_virtual/update-alternatives}", d)}"
 
 # Make sure we build the kernel
 DEPENDS = "virtual/kernel"
-- 
1.7.1




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-10  7:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-10  7:13 [PATCH] task-boot.bb: Don't pull in u-a if ONLINE_PACKAGE_MANAGEMENT="none" Graham Gower

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.