From 1222b2e736978991e8aaf11bf8ad8807bb54a29e Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Wed, 8 Aug 2012 15:27:35 -0700 Subject: [PATCH] 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 Reviewed-by: Jim Hebert Commit-Ready: Olof Johansson Tested-by: Olof Johansson Reviewed-by: Kees Cook --- common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common.sh b/common.sh index 4ec0162dba..9694133005 100644 --- a/common.sh +++ b/common.sh @@ -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)