Skip to content

Commit fd08392

Browse files
committed
ci: refresh host tar before minimal build
1 parent 42ded7f commit fd08392

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/BPI-R4-Minimal-MTK-Bootloader-Test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,15 @@ jobs:
9494
echo "=== Step 5: Download ==="
9595
make download -j$(nproc)
9696
97-
echo "=== Step 6: Compile ==="
97+
echo "=== Step 6: Refresh host tar ==="
98+
rm -rf build_dir/host/tar-* \
99+
staging_dir/host/stamp/.tar_installed \
100+
staging_dir/host/bin/tar \
101+
staging_dir/host/share/man/man1/tar.1 \
102+
staging_dir/host/man/man1/tar.1
103+
make -j1 V=sc tools/tar/compile
104+
105+
echo "=== Step 7: Compile ==="
98106
IGNORE_ERRORS=1 make -j$(nproc)
99107
100108
# 3. Fix permissions
@@ -111,4 +119,4 @@ jobs:
111119
-e CURRENT_GID=$CURRENT_GID \
112120
-e BPI_R4_GPT_LAYOUT=$GPT_LAYOUT \
113121
ubuntu:24.04 \
114-
bash build_script.sh
122+
bash build_script.sh

0 commit comments

Comments
 (0)