All of lore.kernel.org
 help / color / mirror / Atom feed
* [tisdk-build-scripts][PATCH 1/4] config-build-env: Add support for adding a source mirror
@ 2014-09-04 17:31 Jacob Stiffler
  2014-09-04 17:31 ` [tisdk-build-scripts][PATCH 2/4] package-sdks: Add configuration parameter to specify the installer prefix Jacob Stiffler
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Jacob Stiffler @ 2014-09-04 17:31 UTC (permalink / raw)
  To: meta-arago

* Source mirrors may be used by setting the SOURCE_MIRROR_URL parameter in the
  configuration file.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 lib/oesdk/config-build-env |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/oesdk/config-build-env b/lib/oesdk/config-build-env
index 655a7eb..cace93f 100644
--- a/lib/oesdk/config-build-env
+++ b/lib/oesdk/config-build-env
@@ -74,5 +74,10 @@ config_build_dir() {
     sed -i "s+^SSTATE_DIR =.*+STATE_DIR = \"$BUILD_ROOT/sstate-cache\"+" local.conf
     sed -i "s+^TMPDIR =.*+TMPDIR = \"$BUILD_ROOT/$build_dir/arago-tmp\"+" local.conf
     sed -i "s+^export BUILDDIR=.*+export BUILDDIR=\"$BUILD_ROOT/$build_dir\"+" setenv
+
+    if [ ! -z "$SOURCE_MIRROR_URL" ]; then
+      echo "SOURCE_MIRROR_URL = \"$SOURCE_MIRROR_URL\"" >> local.conf
+      echo "INHERIT += \"own-mirrors\"" >> local.conf
+    fi
     cd - > /dev/null 2>&1
 }
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-09-04 19:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-04 17:31 [tisdk-build-scripts][PATCH 1/4] config-build-env: Add support for adding a source mirror Jacob Stiffler
2014-09-04 17:31 ` [tisdk-build-scripts][PATCH 2/4] package-sdks: Add configuration parameter to specify the installer prefix Jacob Stiffler
2014-09-04 17:36   ` Denys Dmytriyenko
2014-09-04 17:56     ` Stiffler, Jacob
2014-09-04 19:00       ` Denys Dmytriyenko
2014-09-04 17:40   ` Cooper Jr., Franklin
2014-09-04 17:31 ` [tisdk-build-scripts][PATCH 3/4] bitbake-test-sdk-image: Add support to control verbosity of build logging Jacob Stiffler
2014-09-04 17:38   ` Denys Dmytriyenko
2014-09-04 18:05     ` Stiffler, Jacob
2014-09-04 19:03       ` Denys Dmytriyenko
2014-09-04 19:08         ` Cooper Jr., Franklin
2014-09-04 19:19           ` Stiffler, Jacob
2014-09-04 19:23             ` Denys Dmytriyenko
2014-09-04 17:31 ` [tisdk-build-scripts][PATCH 4/4] configs: Add new configuration parameters Jacob Stiffler
2014-09-04 17:36 ` [tisdk-build-scripts][PATCH 1/4] config-build-env: Add support for adding a source mirror Denys Dmytriyenko
2014-09-04 17:39 ` Cooper Jr., Franklin

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.