From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f45.google.com (mail-pb0-f45.google.com [209.85.160.45]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 34598E00777 for ; Sat, 7 Dec 2013 08:53:26 -0800 (PST) Received: by mail-pb0-f45.google.com with SMTP id rp16so2818861pbb.32 for ; Sat, 07 Dec 2013 08:53:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=gh33LLSGSFsTMpjKDqQt56AwSsPvAiQ95KC95OqXmA0=; b=b188J0OZuLMXIde/W4gXSCz8QR2EySrIVgadyw30kucI0p0cHq5SHMTKnrQJctFFLI bpwEwwk3wrkM280uhDlQMvzhrYH0mQbQBZTf2+Waawrb+urnjdWhBrMVzJdN4HyPiFz1 eKsN0GcxJV6Ui8E8sMPcYHgS6wf51kwhHp6zuzzv/oeYFBYWAD2+tLzLV95QDcTojmOz /aIDJ/Pp+IWkZMv0/L7EkzFN8nLwrdLlJvRG6vBeFZD3FAEkWmOA0vhce9U8+h2ApISa dAZb+aJSX30v7tP8Rxq1Qw9n4OBxWoKnyE+TTU58SCKcyxy3/o7gb+zOyhLlVuncpIGS 0K1g== X-Gm-Message-State: ALoCoQmLWMCMIpGhFd2YBIUV8zRi4QN7/JhxbsSYr5yOlac+1Gv5E6SOyAlOiXPQcGw1kLz6avpz X-Received: by 10.68.131.202 with SMTP id oo10mr10974443pbb.35.1386435205904; Sat, 07 Dec 2013 08:53:25 -0800 (PST) Received: from [192.168.1.8] (ip98-167-230-131.ph.ph.cox.net. [98.167.230.131]) by mx.google.com with ESMTPSA id ie6sm5665936pbc.6.2013.12.07.08.53.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 07 Dec 2013 08:53:24 -0800 (PST) Message-ID: <52A35281.3060906@boundarydevices.com> Date: Sat, 07 Dec 2013 09:53:21 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Gary Thomas , meta-freescale@yoctoproject.org References: <1386355878-11565-1-git-send-email-gary@mlbassoc.com> <52A269E4.4040306@boundarydevices.com> <52A30DC9.9080401@mlbassoc.com> In-Reply-To: <52A30DC9.9080401@mlbassoc.com> Subject: Re: [PATCH] More changes for git fetchers 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: Sat, 07 Dec 2013 16:53:27 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/07/2013 05:00 AM, Gary Thomas wrote: > On 2013-12-06 17:20, Eric Nelson wrote: >> Hi Gary, >> >> On 12/06/2013 11:51 AM, Gary Thomas wrote: >>> Recipes now need to explicitly mention the branch used for git >>> repositories. >>> These changes reflect this, allowing for the branch to be overridden by >>> .bbappend files >>> >>> Signed-off-by: Gary Thomas >>> >>> --- >>> recipes-bsp/u-boot/u-boot-boundary_git.bb | 3 ++- >>> recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 3 ++- >>> recipes-kernel/linux/linux-boundary_3.0.35.bb | 4 ++-- >>> 3 files changed, 6 insertions(+), 4 deletions(-) >>> >>> diff --git a/recipes-bsp/u-boot/u-boot-boundary_git.bb >>> b/recipes-bsp/u-boot/u-boot-boundary_git.bb >>> index f612b3f..323cfdf 100644 >>> --- a/recipes-bsp/u-boot/u-boot-boundary_git.bb >>> +++ b/recipes-bsp/u-boot/u-boot-boundary_git.bb >>> @@ -9,7 +9,8 @@ PROVIDES = "u-boot" >>> PV = "v2013.07+git${SRCPV}" >>> >>> SRCREV = "f89bc066db0569008418fac1a0408a9a57f2232f" >>> -SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git" >>> +SRCBRANCH = "production-before-20131107" >>> +SRC_URI = >>> "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}" >>> >>> S = "${WORKDIR}/git" >>> >> >> I'm not quite grokking why both the branch and the SRCREV are needed. >> >> It seems that SRCREV is more specific than the branch. > > Except that the bitbake fetch code recently changed and if the SRCREV is > not > on the master branch, it will fail like this: > ERROR: Fetcher failure: Unable to find revision > Thanks. I hadn't noticed. > > > I made the branch name a variable as not everyone using a given recipe > may be using the same revision/branch, e.g. I have some targets that use > linux-boundary that are still on boundary-imx_3.0.35_4.0.0 > That makes sense.