Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0F05FE00AF2; Tue, 8 Dec 2015 13:16:34 -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.51 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-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 55735E00546 for ; Tue, 8 Dec 2015 13:16:31 -0800 (PST) Received: by pabur14 with SMTP id ur14so17868956pab.0 for ; Tue, 08 Dec 2015 13:16:31 -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=+AAr1qkoG33FnXbocCAmtR9pRxXkcCgXjp7hQji4WIc=; b=qUpFffvZuUcE6lsSVOpnpmGpTAvzwCErO+aRaZg9Z/TB0jwimOfrUNWI3qF4FtQml7 dArlf7YsUaLP/Dc3XO/VwztsAKaUsTavpPdq+uEYXoxJ8+80PgAsl+7YtfQjIAeIQP60 KvZjclLYrj6xVUkrGWOIrVttYCCUv3LhW2nwsFZkB4Jk7jEm2OaGEwByfvTSkGDwXqKo W/yqCvZEnupSNT1Ct7YPvf2lcNbyP1w+8jH3FduvXCMPR9da1yFEum2NC08UqjBnM9T1 ohxB7q1pnG75Ig25wz8sAB10gIF89ymDm+zlJT/CDB9QWbihtcizehzEGWICSDnJT2uL RbzA== 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=+AAr1qkoG33FnXbocCAmtR9pRxXkcCgXjp7hQji4WIc=; b=fKoD7lCi/bchYbHHQpm2uGzhRt/LuS1nuaIdaW60u0PmtLIxYRwVIP0uG3eaStqGb2 qZJmXjubdXJFfwuAetymkQ+zroXywn6t9i44xhde7ZVNkd13CMm9G9jiHz1eMxbV7kmm 9KsmD9ZZBnb368HPNYC3eYHtbuz0MeY7guJWz1f9DTtmgarfKgrSsjwyddReSXyA940L TDpjRjK9H/IMV04ivj5bbzeYdmr0falK+XPmO9WZO1S33tLo9VKF6w42lbqqAPWSIkUj 6AufvoJzbH4eb3hU47KHRRRoYnyWQwH9oyfA1n2yO4Zn+k2bxyn0m/WjdTMo4Geia/Iy be4A== X-Gm-Message-State: ALoCoQmJ6TDBqCQ3NPo4t2CloaF/8lNuUfQzHdVMI6poSj3EK09kVjpR9yMe0OueMP893zavHH0L8xi6PKXARESd1nRUV6XubQ== X-Received: by 10.66.234.8 with SMTP id ua8mr2962077pac.45.1449609391470; Tue, 08 Dec 2015 13:16:31 -0800 (PST) Received: from draco.ger.corp.intel.com ([192.55.54.40]) by smtp.gmail.com with ESMTPSA id v64sm6675766pfi.50.2015.12.08.13.16.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Dec 2015 13:16:30 -0800 (PST) From: Michael Wood To: toaster@yoctoproject.org Date: Tue, 8 Dec 2015 21:15:47 +0000 Message-Id: <1449609380-11073-2-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1449609380-11073-1-git-send-email-michael.g.wood@intel.com> References: <1449609380-11073-1-git-send-email-michael.g.wood@intel.com> Subject: [PATCH 01/34] toaster: localhostbecontroller CustomRecipe now base_recipe is Recipe 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: Tue, 08 Dec 2015 21:16:34 -0000 Update the reference to the base_recipe. It is now a Recipe object rather than an intermediate AvailableRecipe object. Therefore doesn't need an extra traverse down the object hierarchy. Signed-off-by: Michael Wood --- bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 92d9ac5..81b773e 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py @@ -243,7 +243,7 @@ class LocalhostBEController(BuildEnvironmentController): # create recipe recipe = os.path.join(layerpath, "recipes", "%s.bb" % target.target) with open(recipe, "w") as recipef: - recipef.write("require %s\n" % customrecipe.base_recipe.recipe.file_path) + recipef.write("require %s\n" % customrecipe.base_recipe.file_path) packages = [pkg.name for pkg in customrecipe.packages.all()] if packages: recipef.write('IMAGE_INSTALL = "%s"\n' % ' '.join(packages)) -- 2.1.4