cri-o: install cni and crictl files

This commit is contained in:
zowoq 2023-01-01 12:14:11 +10:00
parent 1b76175370
commit 4a8663e6d2
2 changed files with 4 additions and 0 deletions

View file

@ -54,6 +54,9 @@ buildGoModule rec {
installShellCompletion --$shell completions/$shell/* installShellCompletion --$shell completions/$shell/*
done done
install contrib/cni/*.conf -Dt $out/etc/cni/net.d
install crictl.yaml -Dt $out/etc
installManPage docs/*.[1-9] installManPage docs/*.[1-9]
runHook postInstall runHook postInstall
''; '';

View file

@ -40,6 +40,7 @@ in runCommand cri-o-unwrapped.name {
ln -s ${cri-o-unwrapped.man} $man ln -s ${cri-o-unwrapped.man} $man
mkdir -p $out/bin mkdir -p $out/bin
ln -s ${cri-o-unwrapped}/etc $out/etc
ln -s ${cri-o-unwrapped}/share $out/share ln -s ${cri-o-unwrapped}/share $out/share
for p in ${cri-o-unwrapped}/bin/*; do for p in ${cri-o-unwrapped}/bin/*; do