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

This commit is contained in:
nodiscc committed 2021-10-16 01:30:22 +02:00
1 parent d1acca576b
commit 3d0e9125f0
2 files changed
+1 -3

No files matched your search

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