Hi all,
I am trying to build the linux image for S32G2 as per the document "Linux BSP 33.0 User Manual for S32G2 platforms" provided by NXP.
I am able to build the basic image "fsl-image-auto" and boots well on my S32G2 device.
Now I would like to use git commands on my S32G2 terminal.
How do I bitbake git package into my linux image?
I have tried to add the git by making the following changes in the local.conf file in the build folder
IMAGE_INSTALL_append = " git"
and then bitbaking the image. But the git command is still not installed in the image. Please give some pointers. I am fairly new to Yocto.
Best,
Vishnu
Hello, @Vishnu3
Thanks for your post.
Yes, git package is not by default included in the BSP release, I feel sorry for your inconvenience.
This is Yocto related, you may reference the formal documents from Yocto to try adding addtional packages .
From my experience, the following way may take effect and is only for your reference, you may firstly copy the git directory from Yocto to the meta-alb/recipes-devtools directory, also add IMAGE_INSTALL_append = " git" to your conf/local.conf, and then use the bitbake fsl-image-auto to have a try.
BR
Chenyin