Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 08546E00CF0; Fri, 4 Mar 2016 09:59:27 -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: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.220.54 listed in list.dnswl.org] * -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 Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F14E2E00CE1 for ; Fri, 4 Mar 2016 09:59:24 -0800 (PST) Received: by mail-pa0-f54.google.com with SMTP id fl4so38515025pad.0 for ; Fri, 04 Mar 2016 09:59:24 -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=pnjYa608ftAAT73nZfAdb5WBQYrOuHCP6rbo7jyqUMYhhtXmgp6Rp6EN/jcOSvZPPq HNuoLmcfJYO8qQ1gsWXPluRYc2oW11GnBPBmXixmbHTOg/2Dqfxn0Z+j+KNxXnAqhKvW sNNcfRGiZZjVjAfj92nVssY2Fl14R0yyzAvV7UlWvMHKgus/glF7Fi5uwyHowcfsZOaG rFBIZel8sNs6WPHZunKlAIUfAmeeys2EIOgtH4woG0s6OfYCGqBJ+NjV1rLSedBPmM5W DRhjdEavfLqK41ldm17TEFov0LPQo8nJzm4qdZ3FbMjAP1AKzIw/7qD4h22eG2u1yx03 6ISw== 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=jbtgVCKsR4EeXnAshix6qNcDmgxxPZFfgE8urHWkHt/R2LRnZ6HPHtjaojhZdoXtkz pWjYCTpTEHCIh7W7bqe/J2sX7i0nCgHnRRBLXx8uAcM0IzQidkL0gGmZ5qrnGFyu1iIh NN3y/h7Z7YgPiL8SJQzGe+CUKQJ/ERZ5A9zoNHjkF2oJzY71seaWSaK6zDUq9RcaaXMS cFBgHZ8KuxmeUjGoaFVMajtbSYofifF2t4C2XQlx04ljSo0pFcpECHqwdIWlVDzU4+9P XU9dlLu3uhG4HIRmgKqzIZOUY3GOC0Kjqw2c2L8wq2O4xS9tEXoOe9jBvglrQzJ3xSiV TJOA== X-Gm-Message-State: AD7BkJIVZ4SgkPp4HK95LtkbsnZeyQFFOD0dowXElaJq8mK6E3KUuD8x2yBaEfdyQ7XxmuMs X-Received: by 10.66.55.6 with SMTP id n6mr14111033pap.35.1457114364292; Fri, 04 Mar 2016 09:59:24 -0800 (PST) Received: from dorado.ger.corp.intel.com (fmdmzpr04-ext.fm.intel.com. [192.55.55.39]) by smtp.gmail.com with ESMTPSA id 9sm6972342pfc.69.2016.03.04.09.59.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Mar 2016 09:59:23 -0800 (PST) From: Michael Wood To: toaster@yoctoproject.org Date: Fri, 4 Mar 2016 17:58:59 +0000 Message-Id: <1457114340-16784-5-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1457114340-16784-1-git-send-email-michael.g.wood@intel.com> References: <1457114340-16784-1-git-send-email-michael.g.wood@intel.com> Subject: [PATCH 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: Fri, 04 Mar 2016 17:59:27 -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