Skip to content

Commit d4f6a68

Browse files
committed
nvidia-runtime: Set git user.{name,email} before applying patch
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
1 parent bbf0691 commit d4f6a68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nvidia-runtime.sysext/create.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ function populate_sysext_root() {
2727
git clone -b ${version} --depth 1 --recurse-submodules --shallow-submodules https://github.com/NVIDIA/nvidia-container-toolkit
2828
if [ "${version}" == v1.18.1 ]; then
2929
pushd nvidia-container-toolkit
30+
git config --global user.name "github"
31+
git config --global user.email "github@extensions.flatcar.org"
3032
git am "${scriptroot}/nvidia-runtime.sysext/0001-nvidia-runtime-1.18.1-go-dl.patch"
3133
git am "${scriptroot}/nvidia-runtime.sysext/0002-nvidia-runtime-1.18.1-submodule-update.patch"
3234
popd

0 commit comments

Comments
 (0)