summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2022-10-06 21:26:53 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-10-06 22:29:59 +0300
commitc31370c75852126ba303d6a5ae66a9ad35c6c0ed (patch)
treee0b3f44ee2b306caab6a22adb81c3f4d0edc2fd0
parentdaf9c29d53f25f242e3f63fa132c8f2cad018bda (diff)
downloadopenbmc-c31370c75852126ba303d6a5ae66a9ad35c6c0ed.tar.xz
Remove OpenBMC specific .templateconf
Starting with 92b42cb, sourcing the build environment as described in https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html#building-your-image no longer works without explicitly setting TEMPLATECONF somehow, because the default, defined in .templateconf, was not updated when the meta-phosphor template moved in bb789d569. All off this, paired with the lack of complaining about the breakage suggests that not very many OpenBMC developers source the build environment in the way described by the Poky documentation. For the remaining few, the usual workflow for creating a new build tree looks like: ```sh TEMPLATECONF=meta-foo/conf/templates/default source oe-init-build-env build-dir ``` and for using an existing build tree just: ```sh source oe-init-build-env build-dir ``` In the latter case, .templateconf need only point to a valid template - the template is only actually used when the build tree is created. Given the irrelevency of the actual content, instead of pointing at the template in meta-phosphor, just use the Poky .templateconf, which has a better chance of being maintained and staying in sync in the long run. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I1f44e1140cd40aac50745ffe1318ad2826717618
l---------[-rw-r--r--].templateconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/.templateconf b/.templateconf
index 7809580f00..b4266c040b 100644..120000
--- a/.templateconf
+++ b/.templateconf
@@ -1 +1 @@
-TEMPLATECONF=${TEMPLATECONF:-meta-phosphor/conf}
+poky/.templateconf \ No newline at end of file