diff options
author | Martin Roth <martinroth@google.com> | 2016-02-19 10:24:25 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-02-24 19:24:03 +0100 |
commit | abf7d4d7e87a4cdb7d8fb957ab1dfd367707a406 (patch) | |
tree | 03912ef08f6537a78f9bb83420f77a24b3a51e34 /src/commonlib | |
parent | 22aa9e3fcc973dccdbe4f19cad8de6d3146c701f (diff) |
kconfig_lint: Fix checks when running in taint mode
The builders run perl scripts in taint mode, and some of the checks
that the kconfig lint script were running were tainted, causing
the script to terminate early when running on the servers.
This checks to see if taint mode is enabled, and untaints the path
if it is. All external tools (git & grep) must be in
/bin, /usr/bin, or /usr/local/bin.
This also removes the check for unused kconfig files if taint mode
is enabled.
Change-Id: I8d1e1c32275f759d085759fb5d8a6c85d4f99539
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/13751
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/commonlib')
0 files changed, 0 insertions, 0 deletions