Skip to contentSkip to conversation

core-image-patchtest: Add safe git directories

PATCH New Trevor Gamblin 1 participant 1 message May 24, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 core-image-patchtest: Add safe git directories

patchtest's method of mounting a shared directory into the guest image means that the associated content may not be owned by the image's user. Add /home/patchtest/openembedded-core and /home/patchtest/openembedded-core/bitbake to the patchtest user's .gitconfig so that it can still run tests if the provided repo is owned by someone else.

---
 meta-patchtest/recipes-core/images/core-image-patchtest.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-patchtest/recipes-core/images/core-image-patchtest.bb +3 -0
index 47e4041..4aa768c 100644
@@ -43,6 +43,9 @@ EOF
 [user]
     name = patchtest
     email = [email protected]
+[safe]
+    directory = /home/patchtest/openembedded-core
+    directory = /home/patchtest/openembedded-core/bitbake
 EOF
 
 }
Signature · 1 line
2.40.1