From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6593954480607199232 X-Received: by 2002:a9f:3945:: with SMTP id i5-v6mr4288112uag.72.1535274665846; Sun, 26 Aug 2018 02:11:05 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1f:5844:: with SMTP id m65-v6ls747773vkb.1.gmail; Sun, 26 Aug 2018 02:11:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYXjeVWB9Ui6du3Em8HU38Cbf7bi0M63UGHQGKe0MA5stWBWaiJo2vX/PQO+fw4Zr2z9tZd X-Received: by 2002:a1f:8053:: with SMTP id b80-v6mr4239472vkd.16.1535274665616; Sun, 26 Aug 2018 02:11:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535274665; cv=none; d=google.com; s=arc-20160816; b=cIsPjwvtvdoUebzGtVUFpBPNQdQkYFh5cdJqUpm+dDwTgCWdxeOUwlproXyde+yWZw iHyBEMzErR4xo47oR9pqPUnyMVHgazvTI05gz2r5FMiVLwo/MDzjkDnZlwlYeGgRxS8V cAeK+Rg1/RoI+G3XZASpNEufJOjnvZgbV9PhOcSNcHtblfp59qlrIibjO/OdrDt4TOug kqaLZ86AoMLXz+oN7SN7U79guFOGq8VFc+fsngHKrCVQOSx2w78757uzKfI6DOh/5L1/ VDiAX3u6jfdlEVQGNhJGZE7OA7P2fCqF5s4AwYbRP1teM0ldlbK6fWVNH39JQCP3H4CU mb8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ufDZDG+w5sg7f3SvknSBVdY96ZPadOs32KF/WAKpOEY=; b=COHJ2ziqWJUrF85QrmqcOphsSpU+XqKMXdBV8ff5Y6r7u62zScyDZSGTz+CzYCGF3+ y9tXTI/0Y0OBXabouL0Wv1Gg/qSvhmqxEwKGls9ad421PfyP3yMR3VSLsYA/NqxPrB70 vgo/yUWiKwHqp8SRFyGdhOWG9nPgabWvSuGzBokRRWLguutFQ+F5r9mDvCL9Rthm9hGD ZaF4w7//+n+6UFHk+rlgDXMGE4UCSk4epRuyMWaAdkkTuSh+K3roNo69sMrz5q7oJw7g ESUiVU3mqlVGF/jJREGncv4ds2ZAqeLiqjD2+WV3s+Ax7I2iGEV3YK4qtOJ+052sH7uA wfUg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of cedric_hombourger@mentor.com designates 192.94.38.131 as permitted sender) smtp.mailfrom=Cedric_Hombourger@mentor.com Return-Path: Received: from relay1.mentorg.com (relay1.mentorg.com. [192.94.38.131]) by gmr-mx.google.com with ESMTPS id l20-v6si582509uaa.1.2018.08.26.02.11.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Aug 2018 02:11:05 -0700 (PDT) Received-SPF: pass (google.com: domain of cedric_hombourger@mentor.com designates 192.94.38.131 as permitted sender) client-ip=192.94.38.131; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of cedric_hombourger@mentor.com designates 192.94.38.131 as permitted sender) smtp.mailfrom=Cedric_Hombourger@mentor.com Received: from nat-ies.mentorg.com ([192.94.31.2] helo=svr-ies-mbx-02.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1ftr4a-0000Wq-7b from Cedric_Hombourger@mentor.com for isar-users@googlegroups.com; Sun, 26 Aug 2018 02:11:04 -0700 Received: from FRG-W10-HOMBOUR.world.mentorg.com (137.202.0.90) by svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Sun, 26 Aug 2018 10:11:00 +0100 From: Cedric Hombourger To: CC: Cedric Hombourger Subject: [PATCH] linux: add "git" to KBUILD_DEPENDS Date: Sun, 26 Aug 2018 11:10:52 +0200 Message-ID: <1535274652-191-1-git-send-email-Cedric_Hombourger@mentor.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) X-TUID: 0ds6vOS0NMyt 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. 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" -- 2.11.0