Return-Path: Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A9199E017E8 for ; Fri, 1 Nov 2013 06:33:15 -0700 (PDT) Received: by mail-gg0-f180.google.com with SMTP id l12so1448098gge.25 for ; Fri, 01 Nov 2013 06:33:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :organization; bh=fSbUaiu9teBibWBE3nIaoqdbRBs/EMl2PnShWUpJvG4=; b=w8He7OcuD/s1XnGUBhUF9QK+6yBbpwmzQa69g80icI6mQLjyNyRH1FCwq6d3UXQuep GTq5EsiRa4b0guuGN830hyXR82s9u7jZOsfogm425M7hRrkGReyyo/cYTiWEnAoJYOCA L7Ei1NxvDb3lnAzTPIIEIOCtH+tZy9k1oz1jbeZKGUBgY+n6shlLWGhK43Dqi7D2WUXc hzErt/LawORRDLqPOBZ9vDAMEqujkDEGIbmck53CyZZutrDgL+ICrjT7FyG97Y/S/4yu +3c6eJArtCa3/4nuJPPvJhtvXXdgo5dfDaDGz195ZFoq/vgLSQyd1x1qqd2nV1R/SrnF thOg== X-Received: by 10.236.77.231 with SMTP id d67mr99762yhe.113.1383312794676; Fri, 01 Nov 2013 06:33:14 -0700 (PDT) Received: from nano.lab.ossystems.com.br ([177.194.208.225]) by mx.google.com with ESMTPSA id q44sm4459704yhg.10.2013.11.01.06.33.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Nov 2013 06:33:13 -0700 (PDT) Sender: Otavio Salvador Received: by nano.lab.ossystems.com.br (Postfix, from userid 1000) id D364716F792AD; Fri, 1 Nov 2013 11:33:10 -0200 (BRST) From: Otavio Salvador To: meta-freescale Mailing List Date: Fri, 1 Nov 2013 11:33:04 -0200 Message-Id: <1383312784-755-2-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.4.rc3 In-Reply-To: <1383312784-755-1-git-send-email-otavio@ossystems.com.br> References: <1383312784-755-1-git-send-email-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [fsl-community-bsp-base][PATCH 2/2] setup-environment: Allow user to provide a site.conf X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2013 13:33:17 -0000 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: Otavio Salvador --- setup-environment | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup-environment b/setup-environment index 3d071ab..f2c91d7 100644 --- a/setup-environment +++ b/setup-environment @@ -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 -- 1.8.4.rc3