* [patchtest][PATCH] core-image-patchtest: Add safe git directories
@ 2023-05-24 19:44 Trevor Gamblin
0 siblings, 0 replies; only message in thread
From: Trevor Gamblin @ 2023-05-24 19:44 UTC (permalink / raw)
To: yocto
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.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
meta-patchtest/recipes-core/images/core-image-patchtest.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-patchtest/recipes-core/images/core-image-patchtest.bb b/meta-patchtest/recipes-core/images/core-image-patchtest.bb
index 47e4041..4aa768c 100644
--- a/meta-patchtest/recipes-core/images/core-image-patchtest.bb
+++ b/meta-patchtest/recipes-core/images/core-image-patchtest.bb
@@ -43,6 +43,9 @@ EOF
[user]
name = patchtest
email = patchtest@patchtest.com
+[safe]
+ directory = /home/patchtest/openembedded-core
+ directory = /home/patchtest/openembedded-core/bitbake
EOF
}
--
2.40.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-24 19:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 19:44 [patchtest][PATCH] core-image-patchtest: Add safe git directories Trevor Gamblin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).