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:
Krzesimir Nowak 2023-07-07 16:02:25 +02:00
parent 057b1b092f
commit 9c0a0f7af7

View File

@ -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