From: Bruce Ashfield Date: Mon, 26 Feb 2024 22:34:50 +0000 (-0500) Subject: kern-tools: depend on git-replacement-native X-Git-Tag: 2024-04-scarthgap~337 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c2ae2346db061a37506b3b5dca20914a7b29fca;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git kern-tools: depend on git-replacement-native Konstantin Aladyshev reported that the kern-tools require git functionality that was introduced in git versions greater than the minimum project requirements. In particular: commit 923a9de418b3ca8592c3 [kgit-s2q: don't run verication hooks] uses the --no-verify flag to prevent local git hooks from running and breaking patching or introducing security issues from the host configuration. To ensure that we have a new enough git available for the tools, we update our DEPENDS to git-native-replacement, and the version available in oe-core will be built and used instead of the host provided version. Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb index 941160ea9c0..8eff00821ad 100644 --- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb +++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "\ file://Kconfiglib/LICENSE.txt;md5=712177a72a3937909543eda3ad1bfb7c \ " -DEPENDS = "git-native" +DEPENDS += "git-replacement-native" SRCREV = "7160ebe8b865dd6028aef278efa219433db93f7e" PV = "0.3+git"