How to include git in imx8 image

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to include git in imx8 image

1,274件の閲覧回数
colinbroderick
Contributor III

I'm building for the imx8mpevk, and `bitbake imx-image-full` builds and boots just fine.

I'd like my image to include the git executable. It does exist in the poky sources and I can build it using `btibake git`, but it's not at all clear how to actually include it in the image. I'm assuming there is a list of included recipes somewhere other than bblayers (since poky is included but git, which is within poky, isn't), but I haven't been able to work it out.

Any assistance would be appreciated.

Thanks

0 件の賞賛
返信
2 返答(返信)

1,266件の閲覧回数
colinbroderick
Contributor III

Thanks for the reply.

I may not have been clear, or perhaps I'm not understanding your answer. I'm pretty new to this. I'm asking how to make git itself available in the image. git is not present on the completed, booted image. I'm not trying to source some other project from a git repository. The recipe for git already exists within poky and can be built but I don't know how to include it in the build.

0 件の賞賛
返信

1,269件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello colinbroderick,

The git works as usual in yocto 5.10.35 BSP, if you want to create an git executable you can post the git in a conf file like:

     SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1"

 

now the BB_RUNFMT Specifies the name of the executable script files (i.e. run files) saved into ${T}. By default, the BB_RUNFMT variable is undefined and the run file names get created using the following form:

     run.{task}.{pid}
                    

If you want to force run files to take a specific name, you can set this variable in a configuration file.

 

 

Regards

0 件の賞賛
返信