Skip to contentSkip to conversation

Need override for TEMPLATECONF

PATCH New Gary Thomas 1 participant 1 message Apr 25, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Need override for TEMPLATECONF

The recently upgraded scripts used to setup the build environment have made it so that a distribution/layer can no longer provide the build templates. This patch restores that possibility.

Note: my patch that created this functionality allowed for the distribution/layers to provide XXX/conf/local.conf as well as XXX/conf/local.conf.sample Any comments on why that was removed?

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

From e3370ac5f4e902dd517cb196cfe416c96d309210 Mon Sep 17 00:00:00 2001
From: Gary Thomas <[email protected]>
Date: Mon, 25 Apr 2011 13:43:39 -0600
Subject: [PATCH] oe-setup-builddir: Allow template directory to be overridden

---
 scripts/oe-setup-builddir |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/oe-setup-builddir +1 -1
index 58c9ad6..5b20488 100755
@@ -37,7 +37,7 @@ fi
 
 cd "$BUILDDIR"
 
-TEMPLATECONF=meta-yocto/conf
+TEMPLATECONF=${TEMPLATECONF:-meta-yocto/conf}
 
 # 
 # $TEMPLATECONF can point to a directory for the template local.conf & bblayers.conf
Signature · 1 line
1.7.3.4