profiles: trim more config files from /etc

Some of these were deleted by build_image, others were still being
shipped but aren't really needed.

The big question mark is LVM, it isn't clear if LVM's default behavior
is actually sane or if the configs are needed to make it sane. Either
way we were already removing this, but something to note in case issues
crop up eventually.
This commit is contained in:
Michael Marineau 2014-09-25 15:00:13 -07:00
parent 7a2cfade6f
commit afe2048e20

View File

@ -13,13 +13,22 @@ FEATURES="nodoc noinfo noman"
# Remove bash-completion files as we don't install bash-completion. # Remove bash-completion files as we don't install bash-completion.
# Remove alternate locales, we only need the standard LANG=C # Remove alternate locales, we only need the standard LANG=C
INSTALL_MASK="${INSTALL_MASK} INSTALL_MASK="${INSTALL_MASK}
/etc/locale.gen
/usr/share/bash-completion /usr/share/bash-completion
/usr/share/gtk-doc /usr/share/gtk-doc
/usr/share/i18n /usr/share/i18n
/usr/share/locale /usr/share/locale
/var/db/Makefile
" "
# Exclude assorted config files that we can do without # Exclude assorted config files that we can do without
INSTALL_MASK="${INSTALL_MASK} INSTALL_MASK="${INSTALL_MASK}
/etc/dmtab
/etc/e2fsck.conf
/etc/lvm/*
/etc/mdadm.conf
/etc/rsyncd.conf
/etc/sudoers /etc/sudoers
/etc/wgetrc
/etc/xinetd.d
" "