Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A8E54E00905; Thu, 20 Nov 2014 11:19:03 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, 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.216.42 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (daiane.list[at]gmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 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-qa0-f42.google.com (mail-qa0-f42.google.com [209.85.216.42]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D94CFE008F6 for ; Thu, 20 Nov 2014 11:19:02 -0800 (PST) Received: by mail-qa0-f42.google.com with SMTP id j7so2397754qaq.15 for ; Thu, 20 Nov 2014 11:19:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=5sYoeYmYt/pVs27twV55auXME7iEVamb+OweYKSVE7w=; b=l4bvE5KLDTHKCmWyw+VJAKaT6rvzv9fH2NwBdjhO8/MIifmVTkughZhu5eyUtbIqe9 nI6Z2yvT4ZXeW5XUdMci9HiVHxvyGOfwcmgAUIyawg+FcZRfJFKkB41PkAJlQiOkfA2S p8bj4SsxN+0/N+QRDoIgQ229jN/JGqLMa4rzRIsdVam6RX8w4PJzmT6ZQq5OIP9PBw4z /bJdw3fzaafR856EkdxEL19BHihLwywJ5CSD09y6pbkEmI3f+F7PGnvbvysKqQyflI2S BlY/UXNlmLy/xtjgsJeT+/+pFkSvQn7tNAKTb37mvAz1lJjbYzspezKsAUqgZoSTWCDf lRrQ== X-Received: by 10.224.98.148 with SMTP id q20mr97767qan.18.1416511142255; Thu, 20 Nov 2014 11:19:02 -0800 (PST) Received: from localhost.localdomain ([201.74.247.10]) by mx.google.com with ESMTPSA id k5sm2704787qai.45.2014.11.20.11.19.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Nov 2014 11:19:01 -0800 (PST) From: Daiane Angolini To: meta-freescale@yoctoproject.org Date: Thu, 20 Nov 2014 17:18:51 -0200 Message-Id: <1416511131-12401-1-git-send-email-daiane.list@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [meta-fsl-arm-extra][PATCH] linux-*: Rework LOCALVERSION depending on SRCBRANCH 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: Thu, 20 Nov 2014 19:19:03 -0000 From: Daiane Angolini LOCALVERSION is used in FSL Community BSP Release Notes and should highlight which are the _release version_ for that particular provider. In addition LOCALVERSION makes it easy to track where the binary running on a target is from. Both reasons make LOCALVERSION a very important information. The overall rule is that LOCALVERSION would point to SRCBRANCH, unless in a case of explicit exception. Signed-off-by: Daiane Angolini --- recipes-kernel/linux/linux-cubox-i_3.14.14.bb | 2 +- recipes-kernel/linux/linux-denx.inc | 2 +- recipes-kernel/linux/linux-wandboard.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-kernel/linux/linux-cubox-i_3.14.14.bb b/recipes-kernel/linux/linux-cubox-i_3.14.14.bb index 8c1e926..dc93084 100644 --- a/recipes-kernel/linux/linux-cubox-i_3.14.14.bb +++ b/recipes-kernel/linux/linux-cubox-i_3.14.14.bb @@ -9,7 +9,7 @@ DEPENDS += "lzop-native bc-native" SRCBRANCH ?= "linux-linaro-lsk-v3.14-mx6" SRCREV = "4a2f77e014b8cdd10af1aac0db40f582be027f51" -LOCALVERSION = "-cubox-i+yocto" +LOCALVERSION ?= "-${SRCBRANCH}" SRC_URI = "git://github.com/SolidRun/linux-imx6-3.14.git;branch=${SRCBRANCH} \ file://defconfig" diff --git a/recipes-kernel/linux/linux-denx.inc b/recipes-kernel/linux/linux-denx.inc index ec331ac..d8ba4a1 100644 --- a/recipes-kernel/linux/linux-denx.inc +++ b/recipes-kernel/linux/linux-denx.inc @@ -19,4 +19,4 @@ SRCBRANCH ?= "master" SRC_URI = "git://git.denx.de/linux-denx.git;branch=${SRCBRANCH} \ file://defconfig" -LOCALVERSION = "-denx" +LOCALVERSION = "-master" diff --git a/recipes-kernel/linux/linux-wandboard.inc b/recipes-kernel/linux/linux-wandboard.inc index 792e991..8809a17 100644 --- a/recipes-kernel/linux/linux-wandboard.inc +++ b/recipes-kernel/linux/linux-wandboard.inc @@ -8,10 +8,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" require recipes-kernel/linux/linux-imx.inc # Put a local version until we have a true SRCREV to point to -LOCALVERSION ?= "+yocto" SCMVERSION ?= "y" SRCBRANCH ??= "master" +LOCALVERSION ?= "-${SRCBRANCH}" # Allow override of WANDBOARD_GITHUB_MIRROR to make use of # local repository easier -- 1.9.1