mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
overlay coreos-base/coreos-oem-gce: Drop python test package
The /usr/lib/python*/test directory grew from 70mb in python3.10 to 118mb in python 3.11. Kill this directory - this hopefully will make the ACI image small enough to fit into the OEM partition again.
This commit is contained in:
parent
057b1b092f
commit
9c0a0f7af7
@ -52,3 +52,6 @@ EOF
|
||||
# Don't bundle these paths, since they are useless to us.
|
||||
mv usr/lib/systemd/lib*.so* usr/lib64/
|
||||
rm -fr boot etc/* usr/lib/systemd var/db/pkg
|
||||
|
||||
# Remove test stuff from python - it's quite large.
|
||||
rm -rf usr/lib/python*/test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user