Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require KERNEL_VERSION argument in driver-toolkit
The default base image for the Driver Toolkit image is `centos:stream9`. The original work for Driver Toolkit is in OpenShift and the base image is `ubi9/ubi`. In bother cases, the images don't have the `kernel` package installed. This change adds a test on the `KERNEL_VERSION` argument and exits if it's not provided at build time. This also ensure that only the relevant kernel is present when using `centos:stream9` or `ubi9/ubi` as the base image. And this realigns a bit with the original Driver Toolkit. Signed-off-by: Fabien Dupont <[email protected]>
- Loading branch information