Skip to content

Commit 20e3a48

Browse files
committed
add comment explaining things
* removal of bsd tar 614bdc0 * garden-runc release where things were fixed: https://github.com/cloudfoundry/garden-runc-release/releases/tag/v1.76.0
1 parent cac450d commit 20e3a48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/BOSH.Agent/BOSH.Agent.psm1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ function Copy-Agent
6868
Move-Item (Join-Path $boshDir (Join-Path "deps" "*")) $depsDir
6969
Remove-Item -Path (Join-Path $boshDir "deps") -Force
7070

71+
# Although we previously removed bsdtar in favor of the system tar that
72+
# comes with windows, some older garden-runc releases (< v1.76.0) still
73+
# expect tar to live there. This preserves backwards compatability. We can
74+
# likely rip this out again once we're out of some reasonable window where
75+
# someone will still be running an older garden-runc release
7176
Copy-Item "C:\Windows\system32\tar.exe" -Destination (Join-Path $depsDir "tar.exe")
7277
}
7378

0 commit comments

Comments
 (0)