Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
Exclude /lib/libstd-* from toolchain
Browse files Browse the repository at this point in the history
These paths are hard links to the rust standard library. Since we are not
using the rust toolchain here, we can exclude them.
  • Loading branch information
rkolchmeyer committed Jul 14, 2021
1 parent 019168e commit 9e34661
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cos-gpu-installer-docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ install_cross_toolchain_pkg() {
tar xf "${pkg_name}" \
--exclude='./usr/lib64/rustlib*' \
--exclude='./lib/librustc*' \
--exclude='./usr/lib64/librustc*'
--exclude='./usr/lib64/librustc*' \
--exclude='./lib/libstd-*'
rm "${pkg_name}"
popd
fi
Expand Down

0 comments on commit 9e34661

Please sign in to comment.