Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8615EE008F3; Thu, 20 Nov 2014 11:18:18 -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.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (daiane.list[at]gmail.com) * -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] * -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 B6902E008E5 for ; Thu, 20 Nov 2014 11:18:15 -0800 (PST) Received: by mail-qa0-f42.google.com with SMTP id j7so2427386qaq.1 for ; Thu, 20 Nov 2014 11:18:15 -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:in-reply-to:references; bh=oggSMEEVulpzmo0J69ToaWorHitzUqcbWOZ5Xjs/wxw=; b=NbMcgDtkdSjSh5MvwJ9KG9SvHcy17R5Q0lkIIj+vKKauYQMgD6W92stq9sJmWtoOIx tDU7CrU8KfvcDhIvxsgamLBaTtzxn2ZGz9WbDL+0D8FVv4VqYuz3s4wgpPbKSoYz0pH3 iH1EVeYwAeKdiwJVVKYCRP5TbPi6EMR2Zee0CwQrAka+010x68dlQtIGtmfEbY485kXq rzO/GV/5wldruS3/Fk2TN7JpTFmTOEkqThrj85SSkVMGuNuTJ+j084pgOde90ExZQJRF GM1K1je6LUDxsHTjWocGJ9mFatvOTjtdZQ5AUpwitW7pIFW2DdmbVYyKRNTACaqIYV1q UkqA== X-Received: by 10.140.51.99 with SMTP id t90mr14965qga.72.1416511095219; Thu, 20 Nov 2014 11:18:15 -0800 (PST) Received: from localhost.localdomain ([201.74.247.10]) by mx.google.com with ESMTPSA id u8sm2721443qat.27.2014.11.20.11.18.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Nov 2014 11:18:14 -0800 (PST) From: Daiane Angolini To: meta-freescale@yoctoproject.org Date: Thu, 20 Nov 2014 17:17:59 -0200 Message-Id: <1416511080-12343-3-git-send-email-daiane.list@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416511080-12343-1-git-send-email-daiane.list@gmail.com> References: <1416511080-12343-1-git-send-email-daiane.list@gmail.com> Subject: [meta-fsl-arm][PATCH 2/2] 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:18:18 -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-ls1.inc | 2 +- recipes-kernel/linux/linux-timesys_3.0.15.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-ls1.inc b/recipes-kernel/linux/linux-ls1.inc index 19614fd..72be738 100644 --- a/recipes-kernel/linux/linux-ls1.inc +++ b/recipes-kernel/linux/linux-ls1.inc @@ -2,7 +2,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" inherit kernel fsl-kernel-localversion -LOCALVERSION ?= "+ls1" +LOCALVERSION ?= "-${SRCBRANCH}" SRC_URI = "git://git.freescale.com/layerscape/ls1021a/linux.git;branch=${SRCBRANCH} \ file://defconfig \ diff --git a/recipes-kernel/linux/linux-timesys_3.0.15.bb b/recipes-kernel/linux/linux-timesys_3.0.15.bb index 24ea076..25fd9e5 100644 --- a/recipes-kernel/linux/linux-timesys_3.0.15.bb +++ b/recipes-kernel/linux/linux-timesys_3.0.15.bb @@ -15,6 +15,6 @@ SRC_URI_append_twr-vf65gs10 = "file://0001-mvf_fec.c-Fix-mac-address-read-to-mat SRCBRANCH = "3.0.15_vybrid-twr" SRCREV = "50c4c848d6b8743894cfcec166db475ef6140504" -LOCALVERSION = "-3.0-mvf+yocto" +LOCALVERSION ?= "-${SRCBRANCH}" COMPATIBLE_MACHINE = "(vf60)" -- 1.9.1