build: reduce ISO image size (don't keep APT indices on the live filesystem)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
lb config noauto \
|
||||
--apt-recommends false \
|
||||
--apt-indices false \
|
||||
--architectures amd64 \
|
||||
--archive-areas 'main contrib non-free' \
|
||||
--backports true \
|
||||
|
||||
@@ -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/
|
||||
Reference in New Issue
Block a user