Skip to content

Commit 04adfb3

Browse files
committed
8314262: GHA: Cut down cross-compilation sysroots deeper
Backport-of: 38687f1a3eb7d1c2e8aa43b85509ab7999fe0e40
1 parent be077e0 commit 04adfb3

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
@@ -154,7 +154,8 @@ jobs:
154154
sudo chown ${USER} -R sysroot
155155
rm -rf sysroot/{dev,proc,run,sys,var}
156156
rm -rf sysroot/usr/{sbin,bin,share}
157-
rm -rf sysroot/usr/lib/{apt,udev,systemd}
157+
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
158+
rm -rf sysroot/usr/libexec/gcc
158159
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
159160

160161
- name: 'Configure'

0 commit comments

Comments
 (0)