mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 21:39:10 +00:00
Preserve timestamps when copying meta packages
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
22c7178561
commit
2019f1e7ea
@ -95,7 +95,8 @@ if [[ -n ${FORCE_META_PACKAGES} || -z ${NVIDIA_CONTAINER_TOOLKIT_TAG} && "${NVID
|
|||||||
${TARGET}
|
${TARGET}
|
||||||
fi
|
fi
|
||||||
if [[ -n ${package_target} ]]; then
|
if [[ -n ${package_target} ]]; then
|
||||||
cp ${package_pattern} ${DIST_DIR}/${package_target}/
|
mkdir -p ${DIST_DIR}/${package_target}/
|
||||||
|
cp -p ${package_pattern} ${DIST_DIR}/${package_target}/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build nvidia-docker2 if required
|
# Build nvidia-docker2 if required
|
||||||
@ -113,7 +114,8 @@ if [[ -n ${FORCE_META_PACKAGES} || -z ${NVIDIA_CONTAINER_TOOLKIT_TAG} && "${NVID
|
|||||||
${TARGET}
|
${TARGET}
|
||||||
fi
|
fi
|
||||||
if [[ -n ${package_target} ]]; then
|
if [[ -n ${package_target} ]]; then
|
||||||
cp ${package_pattern} ${DIST_DIR}/${package_target}/
|
mkdir -p ${DIST_DIR}/${package_target}/
|
||||||
|
cp -p ${package_pattern} ${DIST_DIR}/${package_target}/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user