mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-29 07:21:46 +00:00
Merge branch 'add-debug-output' into 'main'
Properly create target folder for kitmaker See merge request nvidia/container-toolkit/container-toolkit!372
This commit is contained in:
commit
cfea6c1179
@ -92,14 +92,16 @@ function extract-all() {
|
|||||||
echo "Extracting packages for ${dist} from ${PACKAGE_IMAGE}"
|
echo "Extracting packages for ${dist} from ${PACKAGE_IMAGE}"
|
||||||
|
|
||||||
if [ $dist == "ubuntu18.04" ]; then
|
if [ $dist == "ubuntu18.04" ]; then
|
||||||
|
set -x
|
||||||
# We need to publish the libnvidia-container0 packages to the kitmaker repository as a once off operation.
|
# 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.
|
# 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/}"
|
target="${ARTIFACTS_DIR}/${f##/artifacts/}"
|
||||||
mkdir -p "$(dirname "$target")"
|
mkdir -p "$(dirname ${target})/packages/ubuntu18.04/arm64/"
|
||||||
curl -L "https://nvidia.github.io/libnvidia-container/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.10.0+jetpack_arm64.deb" \
|
||||||
--output "${target}/packages/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" \
|
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"
|
--output "${target}/packages/ubuntu18.04/arm64/libnvidia-container0_0.11.0+jetpack_arm64.deb"
|
||||||
|
set +x
|
||||||
fi
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user