kern-tools: depend on git-replacement-native

Konstantin Aladyshev <aladyshev22@gmail.com> 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 <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield 2024-02-26 17:34:50 -05:00 committed by Richard Purdie
parent c95aa38d24
commit f7fa98cca8

View File

@ -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"