mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-26 08:01:14 +02:00
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:
parent
b325ef81be
commit
1222b2e736
@ -336,6 +336,8 @@ DEFAULT_INSTALL_MASK="
|
|||||||
$COMMON_INSTALL_MASK
|
$COMMON_INSTALL_MASK
|
||||||
/usr/local/autotest
|
/usr/local/autotest
|
||||||
/lib/modules/*/kernel/drivers/input/misc/uinput.ko
|
/lib/modules/*/kernel/drivers/input/misc/uinput.ko
|
||||||
|
/lib/modules/*/build
|
||||||
|
/lib/modules/*/source
|
||||||
"
|
"
|
||||||
|
|
||||||
# Mask for factory test image (build_image --factory)
|
# Mask for factory test image (build_image --factory)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user