summaryrefslogtreecommitdiff
path: root/scripts/live-build-config
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-15 03:51:28 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-15 03:51:28 +0200
commit10fc439940f5f2e8ab5053d1587b8bd256944492 (patch)
tree8d2c3e7a8599399fa0ed0663a9d1541d225997ad /scripts/live-build-config
parentdea202e366346dae6b39190c49b6076e3e2859c6 (diff)
downloadvyos-build-10fc439940f5f2e8ab5053d1587b8bd256944492.tar.gz
vyos-build-10fc439940f5f2e8ab5053d1587b8bd256944492.zip
Reduce image bloat.
1. Do not install "recommended" packages 2. Do not keep apt indices in the binary image 3. Clean up firmware packages that are installed by metapackages but are not required for for network or storage hardware. 4. Revert vim to vim-tiny
Diffstat (limited to 'scripts/live-build-config')
-rwxr-xr-xscripts/live-build-config4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/live-build-config b/scripts/live-build-config
index 15df7aa8..b8ad3daa 100755
--- a/scripts/live-build-config
+++ b/scripts/live-build-config
@@ -53,7 +53,9 @@ lb config noauto \
--archive-areas "main contrib non-free" \
--firmware-chroot true \
--updates true \
- --security true
+ --security true \
+ --apt-recommends false \
+ --apt-indices false
"${@}"
"""