Skip to content

Commit 7ce9271

Browse files
committed
8314262: GHA: Cut down cross-compilation sysroots deeper
Backport-of: 38687f1a3eb7d1c2e8aa43b85509ab7999fe0e40
1 parent caa05ac commit 7ce9271

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-cross-compile.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ jobs:
130130
sudo chown ${USER} -R sysroot
131131
rm -rf sysroot/{dev,proc,run,sys,var}
132132
rm -rf sysroot/usr/{sbin,bin,share}
133-
rm -rf sysroot/usr/lib/{apt,udev,systemd}
133+
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
134+
rm -rf sysroot/usr/libexec/gcc
134135
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
135136

136137
- name: 'Configure'

0 commit comments

Comments
 (0)