Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate using a custom dpkg configuration for dropping unnecessary files #28

Open
frzb opened this issue Jan 3, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@frzb
Copy link
Owner

frzb commented Jan 3, 2021

By using a custom configuration for dpkg we can control which files to drop during install of a package.

For example: /etc/dpkg/dpkg.cfg.d/01_coinboot

# block documentation
path-exclude /usr/share/doc/*
# keep copyright files for legal reasons
path-include /usr/share/doc/*/copyright
path-exclude /usr/share/man/*
path-exclude /usr/share/groff/*
path-exclude /usr/share/info/*
# lintian stuff is small, but really unnecessary
path-exclude /usr/share/lintian/*
path-exclude /usr/share/linda/*
# block non-us locales
path-exclude /usr/share/locale/*
path-include /usr/share/locale/en*

Inspired by: https://wiki.ubuntu.com/ReducingDiskFootprint#Drop_unnecessary_files

@frzb frzb added the enhancement New feature or request label Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant