From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A69E3E00B28; Wed, 25 Apr 2018 03:52:18 -0700 (PDT) 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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [74.125.82.170 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jan.vermaete[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-ot0-f170.google.com (mail-ot0-f170.google.com [74.125.82.170]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id EA4F7E00A4F for ; Wed, 25 Apr 2018 03:52:17 -0700 (PDT) Received: by mail-ot0-f170.google.com with SMTP id y10-v6so11782468otg.10 for ; Wed, 25 Apr 2018 03:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=noVBDp7JQF6vkHQiSW/bDDu8nD9gOnhIqReUkgz45Kg=; b=pzYvdedRSJbjH/xnFPYTG+S1odHlz0XXG4RhDKhFWChTl+2TerSOM7Bg49Y5YgioyR DwkP7wjjYEiwby+ViR6YLb7FbTN6TIIq3wgiF9p9erNMSYVjb5qFyKdBQqZ8HWLqpkGG QOj2UaZl6g4omsE/ogU3NZjt3+LPacLAkJepK7h8KnJmoKIRwyWdsk75IsesqvF1fE8A XBagpNLulZLehr0pXUcDbHmQHFU/GYS8ctY1BdqVQgBhDgc7s7aq2PUHwB++zeVM4U0B yoUzwvoiVjp+XmkJ8FIMJeD2pg3II4NUVh5FoiN4ueX1TNU+cDPZs3VfLS7RuOff8oDJ WlUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=noVBDp7JQF6vkHQiSW/bDDu8nD9gOnhIqReUkgz45Kg=; b=jlwJc9XB8v1RTHeBAlydqSMpr3mpeBfQJ9TtwQZRKmlU59VIROGzQLJIIgo36R7V2/ yPecM60vEbINWQRypuAr3Z4xLbRTvCWh9bMfkdFiR7TF+bW9x+gM5I0BjRbCKw1npJd6 7O2KIUUV+BXYMQRwFeJwg1f+wKbqPmXJtyarTXnLbzXsZfFLJQHY0zNBOxhUi8l6jxqd prqqQl77CYoq5ZUz1wGAIsge26EgKqe4kmO3zrueJuuNvOl+d/Nz/PWsDiwxJV3AFQj0 B70hxEXTUyt/muVmn4n2dBRSEwlD9lPVTGmEZqBO816cEtGC8xEYmodejob6a0fV+YKu HGZw== X-Gm-Message-State: ALQs6tALlSDKPC+rbwhraF+xpI/KSGmgowhCUxltwTxjcznQ4yimFVSK MBZe/E9vubh+JaD54sCHx4/f4IBk/g1RKfLFGs92ZA== X-Google-Smtp-Source: AIpwx4/8N0Cw9XqtLO19kLVCNULw1ve2a34v0IhBpixa3FaLzl0vx77fFCr73GcOoOxZNkLrOj7GMNJ42z8zGXsuc/A= X-Received: by 2002:a9d:404d:: with SMTP id o13-v6mr19759864oti.354.1524653536921; Wed, 25 Apr 2018 03:52:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.18.147 with HTTP; Wed, 25 Apr 2018 03:51:56 -0700 (PDT) From: jan vermaete Date: Wed, 25 Apr 2018 12:51:56 +0200 Message-ID: To: meta-freescale@yoctoproject.org Subject: (No subject) 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: Wed, 25 Apr 2018 10:52:18 -0000 Content-Type: text/plain; charset="UTF-8" Hi, I would like not to have the short githash in the Linux kernel name and the /lib/modules directory. Although, I prefer to inherit fsl-kernel-localversion in the bb file for the linux kernel. When setting 'SCMVERSION = "n"' in the local.conf file, I still had the +g.... in the directory name of /lib/modules... The following patch solved it for me. br >From f67c79d669a9861f6f355717bcdabc918e1de03b Mon Sep 17 00:00:00 2001 From: Jan Vermaete Date: Wed, 25 Apr 2018 12:03:01 +0200 Subject: [PATCH 1/1] Do not add the short git hash to the kernel name when SCMVERSION is not set. --- classes/fsl-kernel-localversion.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index c0306a0..ff1075e 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass @@ -28,7 +28,9 @@ do_preconfigure() { CONF_SED_SCRIPT="" kernel_conf_variable LOCALVERSION "\"${LOCALVERSION}\"" - kernel_conf_variable LOCALVERSION_AUTO y + if [ "${SCMVERSION}" = "y" ]; then + kernel_conf_variable LOCALVERSION_AUTO y + fi sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config' -- 2.7.4 -- Jan Vermaete "For every complex problem there is an answer that is clear, simple, and wrong." - H.L. Mencken