Skip to content

Commit bb30c33

Browse files
committed
Cleanup apt before installing cross compiler
1 parent 139ff96 commit bb30c33

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.ci/prepare_cross_build.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ toolchain_prefix="${toolchain_name}-"
2424
echo "Target architecture: ${target_arch} (${target_arch_name})"
2525

2626
# Install dependencies
27+
sudo apt autoremove -y
28+
sudo apt clean
29+
df -h
2730
${root_path}/.ci/install_cross_compiler.sh "${target_arch}" || exit 1
2831
sudo apt install -y qemu-user-static || exit 1
2932

0 commit comments

Comments
 (0)