-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vigiles/kconfig] Make sure there is a kernel config file before copying
In the event that we can't find a kernel config, even if VIGILES_KERNEL_CONFIG is set (even to 'auto'), we don't want to tail if it ain't there. This will happen if 'linux-dummy' is used for the 'virtual/kernel' target (i.e. if the build is set up to use a kernel from an external tree) and VIGILES_KERNEL_CONFIG is set to 'auto', since we'll attempt to check in that build directory. In order to correctly enable kernel config checking when using an external kernel tree, VIGILES_KERNEL_CONFIG must be set to the path of the .config. In addition to checking for the .config exists, this change also cleans the symlink in the vigiles/ directory (if present) to prevent us from picking it up and sending it during vigiles_check().
- Loading branch information
1 parent
9d092e9
commit fa428bb
Showing
1 changed file
with
29 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters