From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6593954480607199232 X-Received: by 2002:a1c:3097:: with SMTP id w145-v6mr154601wmw.27.1535458384594; Tue, 28 Aug 2018 05:13:04 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:9a57:: with SMTP id z81-v6ls415138wrb.11.gmail; Tue, 28 Aug 2018 05:13:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbmqxWIYjFQPp+YTD5gFUqVKcqbMrowWSouozpQ5kVLHv0Pis+iNh3uNsPh1CtDaBayJ8N5 X-Received: by 2002:adf:8231:: with SMTP id 46-v6mr127392wrb.12.1535458383674; Tue, 28 Aug 2018 05:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535458383; cv=none; d=google.com; s=arc-20160816; b=f09rhxjktcSVwkqIQtMHUlVm43VGZCxnufY/e5IKMJikkDFxMYQ94LygfdVoL1lb2G JRb5xv9xkp4GuzcCjUzYxlyEnxTS4rtqjTRMOvzr49EtiuTQ2wD+TftELxBHnGhqxvY5 8THeW52FL8L/sLtu3C9T0NuQTtrKRd4BvuKWjIOKh4tN459pR0sdeYy2JlYqwmMDLbaI CR5+P6Q9Sy72Md/v7sZ8GD7QRGWz9UboDLCZDoDeQvutLJzEO8Qc+H+szyN48E3Cmasa l0Sgz3AKcm2HPNR3NVHceWDza8IFH/599yUF6dmHhtDUaNW4DOOap6dP7aoyrNYuMb4a rsLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:references:to:subject :arc-authentication-results; bh=O0C0CpC5DWHOlkeCYp/jOyYlRYTYy6lZq1f67mB249U=; b=OiXXdZTmxdun4pxVKKTLc5OZ2rOLDSkaEhuX9c4Q8Ay1KRyXG1GlqvzUYzYIDWmrzF lIjbTRCRtGP2aQnNaReDWE8b2W8LHGaSjA74uOcq4xvv8MDOpcG09jzMwMfF8OaC//FB 5hmhOZv2GmnDhco2+Elzum28Y1cSwABDAcic+20taMm4JIqiROnMfA9gzXQ7hfxcX+Gn 5M0KVaBUpmr/VT/BWRpb3OcqCVz3IPBmpDF5gOwIL0jZ2kGb3Ld5gwYLRQuAe5pYYYzi kq0Er9prEcuIChg+yqIpbBCUFmHcLHNGIyMlWa+ErKA8gOwCf/24/qs+EoUPw74i20UQ vKGA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id v18-v6si31085wmc.1.2018.08.28.05.13.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Aug 2018 05:13:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.180] (nat-ppp-217.71.235.199-satnet-spb.ru [217.71.235.199] (may be forged)) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w7SCD14P018163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 28 Aug 2018 14:13:02 +0200 Subject: Re: [PATCH] linux: add "git" to KBUILD_DEPENDS To: Cedric Hombourger , isar-users@googlegroups.com References: <1535274652-191-1-git-send-email-Cedric_Hombourger@mentor.com> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: <4656b1f8-d6d4-f07a-f22c-beb0bfec56bf@ilbers.de> Date: Tue, 28 Aug 2018 15:12:56 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1535274652-191-1-git-send-email-Cedric_Hombourger@mentor.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: 91bwVfYErSCx On 08/26/2018 12:10 PM, Cedric Hombourger wrote: > Several build scripts from the kernel use "git" and in particular > scripts/setlocalversion. The latter is used to produce a version > string when we "make -s kernelrelease". My kernel builds would > sporadically fail with the PV check as the "+" sign appended by > kbuild would or would not be present in the "kernelrelease" output > if "git" was installed or not in the buildchroot. Get consistent > results by getting "git" installed into the buildchroot when we > build custom kernels. Applied to the 'next'. Thanks, Maxim. > Signed-off-by: Cedric Hombourger > --- > meta/recipes-kernel/linux/linux-custom.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc > index 8438143..d75346e 100644 > --- a/meta/recipes-kernel/linux/linux-custom.inc > +++ b/meta/recipes-kernel/linux/linux-custom.inc > @@ -24,7 +24,7 @@ inherit dpkg-base > > SRC_URI += "file://build-kernel.sh" > > -KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc" > +KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git" > KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool, kmod, linux-base (>= 4.3~)" > KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, libssl1.1" > > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov