3e3c7aa09d
The layers compile for amd64; however, functionality has not been tested. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
30 lines
998 B
Plaintext
30 lines
998 B
Plaintext
## Drop unnecessary files
|
||
## ref: https://wiki.ubuntu.com/ReducingDiskFootprint
|
||
|
||
## Documentation
|
||
path-exclude /usr/share/doc/*
|
||
# we need to 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/*
|
||
|
||
## Translations
|
||
path-exclude /usr/share/locale/*
|
||
|
||
## Landscape
|
||
path-exclude /usr/share/pyshared/twisted/test*
|
||
path-exclude /usr/lib/python*/dist-packages/twisted/test*
|
||
path-exclude /usr/share/pyshared/twisted/*/test*
|
||
path-exclude /usr/lib/python*/dist-packages/twisted/*/test*
|
||
|
||
## install the configuration file if it’s currently missing
|
||
force-confmiss
|
||
## combined with confold: overwrite configuration files that you have not modified
|
||
force-confdef
|
||
## do not modify the current configuration file, the new version is installed with a .dpkg-dist suffix
|
||
force-confold
|