Merge pull request #1828 from vcaputo/prod-keep-kernel-headers

profiles: remove *.h from prod INSTALL_MASK
This commit is contained in:
Vito Caputo 2016-03-09 10:32:59 -08:00
commit 24c57af3b7

View File

@ -3,9 +3,10 @@
# Restrictive mask for production images.
INSTALL_MASK="${INSTALL_MASK}
*.a *.la *.h *.hpp *.o
*.a *.la *.hpp *.o
/etc/sandbox.d
/usr/include
/usr/lib*/*/include
/usr/lib/debug
/usr/lib*/pkgconfig
/usr/share/aclocal*
@ -25,8 +26,3 @@ INSTALL_MASK="${INSTALL_MASK}
/usr/share/ncat
/usr/share/nmap
"
# These kernel paths are just noise without sources
INSTALL_MASK="${INSTALL_MASK}
/usr/lib/modules/*/{build,source}
"