Skip to content

Commit d840581

Browse files
authored
nvidia-runtime: Set git user.name before applying patch (#198)
Should fix this: ``` Committer identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident name (for <runner@runnervmoqczp.1xlrnzp2busulcmx1tuvjmdqng.yx.internal.cloudapp.net>) not allowed Error: Process completed with exit code 128. ```
2 parents bbf0691 + d4f6a68 commit d840581

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)