diff --git a/live-build/auto/build b/live-build/auto/build index 6307d283..a1a6b81f 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -37,6 +37,27 @@ Expire-Date: 0 rm -f chroot/etc/localtime chroot/etc/timezone fi + if [ "$SUBPROJECT" = minimize ]; then + # set up dpkg filters to skip installing docs on minimized system + mkdir -p chroot/etc/dpkg/dpkg.cfg.d + cat > chroot/etc/dpkg/dpkg.cfg.d/excludes <