build: reduce ISO image size (don't keep APT indices on the live filesystem)

This commit is contained in:
nodiscc
2021-10-16 00:05:48 +02:00
parent d1acca576b
commit 3d0e9125f0
2 changed files with 1 additions and 3 deletions

View File

@@ -1,8 +1,5 @@
#!/bin/sh
echo "I: running $0"
# clear APT package download cache to reduce the image size from ~100MB
rm -vr /var/lib/apt/lists/
# clear APT package list cache to reduce the image size from ~180MB
rm -vr /var/cache/apt/