Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E0D1BE00951; Mon, 7 Mar 2016 08:07:15 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.175 listed in list.dnswl.org] Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A0AF2E008DB for ; Mon, 7 Mar 2016 08:07:10 -0800 (PST) Received: by mail-pf0-f175.google.com with SMTP id 63so81990664pfe.3 for ; Mon, 07 Mar 2016 08:07:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+Wd7J76Qr6ZsI7JEKZQoNDjz7hgnZdRXTWTCz3MxMp4=; b=Kq0K8nE8ig7W5+LqEL01x0HdbhuaO+lTvCt5H23ukNkZN7YYs2VAZFPQsVDPLtIJ1O BFFuBbnGtM3ZkRZg6FXPc6jtX3GCijSKwpSCOzYkRZG8tnxftPJIUAD6smS0ixzV2Gwu xKmJ8e84KvUsbDx+5kuZP5XSccJOHGMB/tBvdSIIw4zM4cX37VYjwQ7WPFULubpceMLV z81Csakbff1NOIyIPYzETuItTBc8uGkNSjTxJ7zCVW/U/WDvcfeZkAezDw81dHT53WWV Z2m62nyV+5lC/9sSxEMt0HyhrcblzqXagYAoBKLzOM5aneEW1pu/BZLwXab7lacGwRSf UGEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+Wd7J76Qr6ZsI7JEKZQoNDjz7hgnZdRXTWTCz3MxMp4=; b=BsYNec4KzyBAEKhgK8FBJ0O1m5ahzvyvuFlDWgSzyGyRq9cqTs7HVNazXXvE1Er3oC dsEcpRO2UH2c/+FOGWSJDvtv1+7LmxK+vryA2mpB+9Onj6QEGKJr9WL7Whkkt81OTxUN NPh7w+mHdX6+hwc9q4NXxISEi6ziftj5Y1bFkYylRHeCYV2HWprDR8G5yK5FKi5v6Xfx ym2xLFz3v8+N6JNobVXCumzGX3Tp1auXaFjnWnh4qipAppFbzTQFjbdusEjJJidZ+2z3 uLw1LXB0pLNlhv1qqgl3FLb2SSGyXQ6YakKThjJVNIvlln4PxKYkgcj2//YVgYN3kSNX AyiA== X-Gm-Message-State: AD7BkJKumiaajkMG3PznZb5wwh7AxO60AOaPQdH34eIkiE8UUdSufuE/Lfa0fryUsUmyRYxR X-Received: by 10.98.0.11 with SMTP id 11mr34806942pfa.5.1457366829952; Mon, 07 Mar 2016 08:07:09 -0800 (PST) Received: from dorado.ger.corp.intel.com (fmdmzpr02-ext.fm.intel.com. [192.55.55.37]) by smtp.gmail.com with ESMTPSA id yj1sm25182440pac.16.2016.03.07.08.07.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Mar 2016 08:07:09 -0800 (PST) From: Michael Wood To: toaster@yoctoproject.org Date: Mon, 7 Mar 2016 16:03:18 +0000 Message-Id: <1457366599-12973-4-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1457366599-12973-1-git-send-email-michael.g.wood@intel.com> References: <1457114340-16784-1-git-send-email-michael.g.wood@intel.com> <1457366599-12973-1-git-send-email-michael.g.wood@intel.com> Subject: [PATCH v2 4/5] toaster: localhostbecontroller put generated layer in the builddir X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2016 16:07:16 -0000 Move the generated layer for custom recipes into the build directory. The build directory makes more sense as this layer/recipe is generated for a particular build/project. Signed-off-by: Michael Wood --- bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 9deb572..08419f2 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py @@ -218,9 +218,8 @@ class LocalhostBEController(BuildEnvironmentController): raise BuildSetupException("BE is not consistent: bblayers.conf file missing at %s" % bblayerconf) # 5. create custom layer and add custom recipes to it - layerpath = os.path.join(self.be.sourcedir, - "_meta-toaster-custom_", - bitbake.req.project.name) + layerpath = os.path.join(self.be.builddir, + CustomImageRecipe.LAYER_NAME) for target in targets: try: customrecipe = CustomImageRecipe.objects.get(name=target.target, -- 2.5.0