From f7fa98cca8a5ac64dbe5fa8a01b6699d731fb2ce Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 26 Feb 2024 17:34:50 -0500 Subject: 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. (From OE-Core rev: 6c2ae2346db061a37506b3b5dca20914a7b29fca) Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-kernel') 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 941160ea9c..8eff00821a 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" -- cgit v1.2.3-54-g00ecf