common.sh: add /lib/modules/*/{build,source} to DEFAULT_INSTALL_MASK

Since we moved the source location during build, some of the security
testcases started reporting errors.

BUG=chromium-os:33392
TEST=build image, check /lib/module/*/{build,source} (none should be there)

Change-Id: I4656f043e4014f33dda03e1f788ba9190e0ce38a
Reviewed-on: https://gerrit.chromium.org/gerrit/29674
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Jim Hebert <jimhebert@chromium.org>
Commit-Ready: Olof Johansson <olofj@chromium.org>
Tested-by: Olof Johansson <olofj@chromium.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
Olof Johansson 2012-08-08 15:27:35 -07:00 committed by Gerrit
parent b325ef81be
commit 1222b2e736

View File

@ -336,6 +336,8 @@ DEFAULT_INSTALL_MASK="
$COMMON_INSTALL_MASK
/usr/local/autotest
/lib/modules/*/kernel/drivers/input/misc/uinput.ko
/lib/modules/*/build
/lib/modules/*/source
"
# Mask for factory test image (build_image --factory)