mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 08:28:34 +00:00
build: kernel: Always pass -f to the kernel builder
-f forces the (re)generaton of the config when doing the setup, which helps a lot on local development whilst not causing any harm in the CI builds. Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
@@ -564,7 +564,7 @@ install_kernel_helper() {
|
||||
|
||||
info "build ${kernel_name}"
|
||||
info "Kernel version ${kernel_version}"
|
||||
DESTDIR="${destdir}" PREFIX="${prefix}" "${kernel_builder}" -v "${kernel_version}" ${extra_cmd}
|
||||
DESTDIR="${destdir}" PREFIX="${prefix}" "${kernel_builder}" -v "${kernel_version}" -f "${extra_cmd}"
|
||||
}
|
||||
|
||||
#Install kernel asset
|
||||
@@ -572,7 +572,7 @@ install_kernel() {
|
||||
install_kernel_helper \
|
||||
"assets.kernel.version" \
|
||||
"kernel" \
|
||||
"-f"
|
||||
""
|
||||
}
|
||||
|
||||
install_kernel_confidential() {
|
||||
|
Reference in New Issue
Block a user