Acked-by: Franklin Cooper Jr. <[email protected]>
> -----Original Message----- > From: [email protected] [mailto:meta-arago- > [email protected]] On Behalf Of Stiffler, Jacob > Sent: Thursday, September 04, 2014 12:31 PM > To: [email protected] > Subject: [meta-arago] [tisdk-build-scripts][PATCH 1/4] config-build-env: Add > support for adding a source mirror > > * Source mirrors may be used by setting the SOURCE_MIRROR_URL > parameter in the > configuration file. > > Signed-off-by: Jacob Stiffler <[email protected]> > --- > 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 > > _______________________________________________ > meta-arago mailing list > [email protected] > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
