diff --git a/live-build/auto/build b/live-build/auto/build index 9f4b1593..bcf22922 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -51,6 +51,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 <