aports/testing/dotnet9-runtime/sdk_hard-dereference-tar-gz.patch
2024-12-01 15:27:39 +00:00

23 lines
888 B
Diff

diff --git a/src/sdk/src/Installer/core-sdk-tasks/TarGzFileCreateFromDirectory.cs.orig b/src/sdk/src/Installer/core-sdk-tasks/TarGzFileCreateFromDirectory.cs
index 2f73020e429..1e685673d03 100644
--- a/src/sdk/src/Installer/core-sdk-tasks/TarGzFileCreateFromDirectory.cs.orig
+++ b/src/sdk/src/Installer/core-sdk-tasks/TarGzFileCreateFromDirectory.cs
@@ -107,7 +107,7 @@ private string GetSourceSpecification()
}
}
- private string GetDestinationArchive() => $"-czf {DestinationArchive}";
+ private string GetDestinationArchive() => $"--hard-dereference -czf {DestinationArchive}";
private string GetExcludes()
{
@@ -120,7 +120,7 @@ private string GetExcludes()
excludes += $" --exclude {excludeTaskItem.ItemSpec}";
}
}
-
+
return excludes;
}