On Tue, 2 Apr 2019 12:52:25 +0200 Cyril Brulebois <k...@debian.org> wrote: > Hideki Yamane <henr...@iijmio-mail.jp> (2019-04-02): > > package: debootstrap > > severity: wishlist > > > > mmdebstrap has aptopt and dpkgopt option to manage apt and dpkg via > > passing some options to it, put conf file to > > /etc/apt/apt.conf.d/99mmdebstrap > > and /etc/dpkg/dpkg.cfg.d/99mmdebstrap. I think it's worth to add such > > option to debootstrap, especially dpkgopt to reduce image size via > > "--dpkgopt='path-exclude=/usr/share/man/*' \ > > --dpkgopt='path-exclude=/usr/share/locale/*' \ > > --dpkgopt='path-exclude=/usr/share/doc/*' \" for minimize it. > > Looks like a job for localepurge, rather than for debootstrap…
The dpkg --path-exclude options completely supersede localepurge. They avoid unpacking the files in the first place, rather than extracting them and then deleting them. Please consider adding support for this.