Commit 6bc2400f authored by Otavio Salvador's avatar Otavio Salvador

setup-environment: Allow user to provide a site.conf

The site.conf file is intended to provide configuration which is used
by default in the site where it is building.

There are several uses as:

- override DL_DIR for a company shared cache;
- set proxy value for GIT;
- etc...

Change-Id: I36bf6c5e1c192391b996a49f54cd4f413c769cb0
Signed-off-by: 's avatarOtavio Salvador <otavio@ossystems.com.br>
parent 83326f82
......@@ -156,6 +156,13 @@ EOF
cp $TEMPLATES/* conf/
for s in $HOME/.oe $HOME/.yocto; do
if [ -e $s/site.conf ]; then
echo "Linking $s/site.conf to conf/site.conf"
ln -s $s/site.conf conf
fi
done
generated_config=1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment