mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
Cleanup apt including all caches in the end of the build
This commit is contained in:
@@ -35,5 +35,10 @@ echo "Largest packages installed"
|
||||
sudo -E sh -c 'apt-get install -y debian-goodies'
|
||||
dpigs -H -n 100
|
||||
|
||||
echo "Cleanup apt"
|
||||
apt-get autoremove --purge -y
|
||||
apt-get clean
|
||||
rm -rf /var/cache/apt/*
|
||||
|
||||
echo "Move /etc/ld.so.preload back to its original position"
|
||||
mv /etc/ld.so.preload.disabled-for-build /etc/ld.so.preload
|
||||
|
||||
Reference in New Issue
Block a user