public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] linux: add "git" to KBUILD_DEPENDS
@ 2018-08-26  9:10 Cedric Hombourger
  2018-08-27  7:21 ` Jan Kiszka
  2018-08-28 12:12 ` Maxim Yu. Osipov
  0 siblings, 2 replies; 3+ messages in thread
From: Cedric Hombourger @ 2018-08-26  9:10 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger

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 <Cedric_Hombourger@mentor.com>
---
 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-28 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-26  9:10 [PATCH] linux: add "git" to KBUILD_DEPENDS Cedric Hombourger
2018-08-27  7:21 ` Jan Kiszka
2018-08-28 12:12 ` Maxim Yu. Osipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox