-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kernel] Use better checking for backfilling kernel dependencies
When there are multiple providers of virtual/kernel, we were adding tasks for each one, which causes problems because of the way PREFERRED_PROVIDER is resolved -- it seems that when that's done, it 'disappears' all other providers of virtual/kernel, causing an error about a missing provider of e.g. 'linux-fslc-imx'. This change fixes that by explicitly checking the PN against the value of PREFERRED_PROVIDER_virtual/kernel (or first: against a new variable 'VIGILES_KERNEL_PN', which can be used to specify the kernel config to use for checking in the event there are 2 kernels built and the desired one is not set to PREFERRED_PROVIDER for some reason). The dependencies are added only in that case, instead of blindly adding them for all providers of 'virtual/kernel'.
- Loading branch information
1 parent
0545e89
commit a2aca9e
Showing
2 changed files
with
22 additions
and
4 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
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