mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 00:08:11 +00:00
Extract manifest from packaging image
Also include manifest.txt with, for example, version info when extracting packages from the packagin image. Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
6b367445a3
commit
39b0830a66
@ -55,4 +55,4 @@ docker run --rm \
|
|||||||
-u $(id -u):$(id -g) \
|
-u $(id -u):$(id -g) \
|
||||||
--entrypoint="bash" \
|
--entrypoint="bash" \
|
||||||
${IMAGE} \
|
${IMAGE} \
|
||||||
-c "cp -R /artifacts/packages/* ${DIST_DIR}"
|
-c "cp --preserve=timestamps -R /artifacts/* ${DIST_DIR}"
|
||||||
|
@ -189,7 +189,7 @@ git -C ${PACKAGE_REPO_ROOT} reset --hard ${UPSTREAM_REFERENCE}
|
|||||||
git -C ${PACKAGE_REPO_ROOT} clean -fdx ${REPO}
|
git -C ${PACKAGE_REPO_ROOT} clean -fdx ${REPO}
|
||||||
|
|
||||||
for target in ${targets[@]}; do
|
for target in ${targets[@]}; do
|
||||||
sync ${target} ${PACKAGE_CACHE} ${PACKAGE_REPO_ROOT}/${REPO}
|
sync ${target} ${PACKAGE_CACHE}/packages ${PACKAGE_REPO_ROOT}/${REPO}
|
||||||
done
|
done
|
||||||
|
|
||||||
git -C ${PACKAGE_REPO_ROOT} add ${REPO}
|
git -C ${PACKAGE_REPO_ROOT} add ${REPO}
|
||||||
|
Loading…
Reference in New Issue
Block a user