mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
Add a workaround to publish libnvidia-container0
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
a95232dd33
commit
df22e37dfd
@ -91,6 +91,17 @@ function extract-all() {
|
|||||||
|
|
||||||
echo "Extracting packages for ${dist} from ${PACKAGE_IMAGE}"
|
echo "Extracting packages for ${dist} from ${PACKAGE_IMAGE}"
|
||||||
|
|
||||||
|
if [ $dist == "ubuntu18.04" ]; then
|
||||||
|
# We need to publish the libnvidia-container0 packages to the kitmaker repository as a once off operation.
|
||||||
|
# We include the packages here so that these will be added to the archive for the ubuntu18.04 arm64 packages.
|
||||||
|
target="${ARTIFACTS_DIR}/${f##/artifacts/}"
|
||||||
|
mkdir -p "$(dirname "$target")"
|
||||||
|
curl -L "https://nvidia.github.io/libnvidia-container/ubuntu18.04/arm64/libnvidia-container0_0.10.0+jetpack_arm64.deb" \
|
||||||
|
--output "${target}/packages/ubuntu18.04/arm64/libnvidia-container0_0.10.0+jetpack_arm64.deb"
|
||||||
|
curl -L "https://nvidia.github.io/libnvidia-container/ubuntu18.04/arm64/libnvidia-container0_0.11.0+jetpack_arm64.deb" \
|
||||||
|
--output "${target}/packages/ubuntu18.04/arm64/libnvidia-container0_0.11.0+jetpack_arm64.deb"
|
||||||
|
fi
|
||||||
|
|
||||||
# Extract every file for the specified dist-arch combiniation in MANIFEST.txt
|
# Extract every file for the specified dist-arch combiniation in MANIFEST.txt
|
||||||
grep "/${dist}/" "${ARTIFACTS_DIR}/manifest.txt" | while read -r f ; do
|
grep "/${dist}/" "${ARTIFACTS_DIR}/manifest.txt" | while read -r f ; do
|
||||||
package_name="$(basename "$f")"
|
package_name="$(basename "$f")"
|
||||||
|
Loading…
Reference in New Issue
Block a user