On Fri, Feb 23, 2024, 5:26 PM Konstantin Aladyshev <aladyshe...@gmail.com> wrote:
> Thanks Richard! That did the trick! > > I've made the following changes to the "kern-tools-native_git.bb": > ``` > 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..7f8ea3e050 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" > ``` > Is it ok? Can I send this patch to the mailing list? > It is easier if I just make the change locally and send it to the list as part of my next pull request. Thanks for the report and testing, I'll send a patch shortly. Bruce > > Best regards, > Konstantin Aladyshev > > On Sat, Feb 24, 2024 at 12:07 AM Richard Purdie > <richard.pur...@linuxfoundation.org> wrote: > > > > On Fri, 2024-02-23 at 13:45 -0500, Bruce Ashfield wrote: > > > On Fri, Feb 23, 2024 at 12:15 PM Konstantin Aladyshev > > > <aladyshe...@gmail.com> wrote: > > > > > > > > Should I see the new git version in the linux-yocto devshell? > > > > """ > > > > bitbake linux-yocto -c devshell > > > > """ > > > > > > > > I've tried to check it in the current poky master, and it gives me: > > > > """ > > > > $/data/poky/build/workspace/sources/linux-yocto# git --version > > > > git version 2.30.2 > > > > $/data/poky/build/workspace/sources/linux-yocto# which git > > > > /data/poky/scripts/git > > > > """ > > > > So in this case host git is used. "bitbake kern-tools-native -c > > > > devshell" gives the same result. > > > > Can this be considered as a proof that git-native is not used? > > > > > > > > > > It is likely ASSUME_PROVIDED that is causing the issue, git-native is > > > in there, which means it is going to use the host version and not > > > build our -native recipe for it. > > > > > > We'll need some guidance from Richard on this, because the use of > > > that > > > flag in the git operations is in fact required for security reasons, > > > so it isn't going to be optional. If that means we need a minimum git > > > version or to use our own built one (and possibly the buildtools > > > tarball, etc), then those are the hoops we'll have to jump through. > > > > > > When I pulled git-native out of ASSUME_PROVIDED locally, I ended up > > > in > > > a dependency loop. > > > > > > I can have a closer look at this again on Monday, but i'm out of time > > > for it today. > > > > We do have a way to handle this. > > > > DEPENDS += "git-replacement-native" > > > > should do it. > > > > Cheers, > > > > Richard >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62595): https://lists.yoctoproject.org/g/yocto/message/62595 Mute This Topic: https://lists.yoctoproject.org/mt/104509876/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-