Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BCAA9E00BF5; Fri, 4 Mar 2016 09:59:19 -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.179 listed in list.dnswl.org] Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 81AD3E00B37 for ; Fri, 4 Mar 2016 09:59:17 -0800 (PST) Received: by mail-pf0-f179.google.com with SMTP id 4so39075869pfd.1 for ; Fri, 04 Mar 2016 09:59:17 -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; bh=d0gBcwN7EUTuf84h08MiFV4KaEgFT13etkrdgP41dYs=; b=VxVP8RwCuE9m0JvicAFBJP5h0x8MtHbXxb0H1FpyrjpLt9eoMNQRSM5vBVdd/wDVJ7 p9tcrPo2HAaQgQzLWp05ujjHDec83EtS1nGEwRthShEMzjjDs23IjC4bGQKso9XJgvAt j38wKOw+rbwflKyHhZM7sGj9f9rrFAXxkBSJPWVebSPLrqEXUG7OcrPnz8iCjgj1vP9J I6KA0UzDnMKk225SJam3wOhzJOgibRL1sItvO1CxiS8H49eunkEOZ75lAHKa4fJrF6vY GCVGphSAHDsoDF4s9Hx4/XSMni6fN2ZQej9BeWOCgq/5Yq0N05HnH9YXlsKE4Ti/ijyc 0y5g== 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; bh=d0gBcwN7EUTuf84h08MiFV4KaEgFT13etkrdgP41dYs=; b=fpIQfvNB9e2PNxh4va/DV/0Q1hoqlLYTu8Wjh2XP2MgDspoaAHD763omMwL95jriXy zryjgJz2vOUZgE8Btm5jK8khmc68e7JhHJbZeI/JrPeJRdPCyX91JzRLKt9yJLoLYZqC YQ28SvSBPWAeYtZlUr1eBKWSY8iLZgqcqIgVmgZwVXE8o4XS9TwHG8K9SCCBEzzXxvdu rZ+6/HIWAVZc5snBsS5M7lDGfQNMHG7gBBa3gIaeUlLUsKEuwlHSSpv7bmDtnzGh7+FI JrxaiKYMfM/YGrfAU3iJP+McEOZmwiG8JmR1lCibL8oKXWNixoiL+IlR+crnDH0X9hcw y+IA== X-Gm-Message-State: AD7BkJLmJ9E4COU1EoXR8sLPsRP/rU+H6kLGz8LBrAhRcO2DKh4sAHZMqhTjgK2POj2Q3jwh X-Received: by 10.98.16.15 with SMTP id y15mr13758093pfi.114.1457114356880; Fri, 04 Mar 2016 09:59:16 -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.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Mar 2016 09:59:16 -0800 (PST) From: Michael Wood To: toaster@yoctoproject.org Date: Fri, 4 Mar 2016 17:58:55 +0000 Message-Id: <1457114340-16784-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.5.0 Subject: [PATCH 0/5] localhostbecontroller fixes 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:19 -0000 Fixes for localhostbecontroller to allow file:/// uri for git repositories. Allowing the file:/// uri had an unintended consequence that the layer we generate for the custom image layer/recipes have had a dummy value of file:///_meta-toaster as its giturl so it tried and fails to git clone the dummy url. This fixes this and another issue identified in testing when building a custom image based on a custom image https://bugzilla.yoctoproject.org/show_bug.cgi?id=9206 branch available on poky-contrib michaelw/toaster/localhostbctrl Michael Wood (5): toaster: localhostbecontroller Don't clear out toaster custom layer dir toaster: orm Add a constant for the CustomImageRecipe's layer name toaster: localhostbecontroller Allow file:/// uri type for git repo toaster: localhostbecontroller put generated layer in the builddir toaster: orm generate CustomImageRecipe contents try secondary path bitbake/lib/bb/ui/buildinfohelper.py | 2 +- bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 10 +++++----- bitbake/lib/toaster/orm/models.py | 15 +++++++++++---- bitbake/lib/toaster/toastergui/views.py | 2 +- 4 files changed, 18 insertions(+), 11 deletions(-) -- 2.5.0