From 73e108136a6df8530d45d819d672be160ea834ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Thu, 23 Mar 2023 08:48:09 +0100 Subject: [PATCH] local-build: Rename non vanilla kernel build functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In order to make it easier to read, let's just rename the install_dragonball_experimental_kernel and install_experimental_kernel to install_kernel_dragonball_experimental and install_kernel_experimental, respectively. This allows us to quickly get to those functions when looking for `install_kernel`. Signed-off-by: Fabiano FidĂȘncio --- .../kata-deploy/local-build/kata-deploy-binaries.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/packaging/kata-deploy/local-build/kata-deploy-binaries.sh b/tools/packaging/kata-deploy/local-build/kata-deploy-binaries.sh index e696849da2..3d5e572284 100755 --- a/tools/packaging/kata-deploy/local-build/kata-deploy-binaries.sh +++ b/tools/packaging/kata-deploy/local-build/kata-deploy-binaries.sh @@ -188,7 +188,7 @@ install_kernel() { } #Install dragonball experimental kernel asset -install_dragonball_experimental_kernel() { +install_kernel_dragonball_experimental() { info "build dragonball experimental kernel" export kernel_version="$(yq r $versions_yaml assets.kernel-dragonball-experimental.version)" local kernel_kata_config_version="$(cat ${repo_root_dir}/tools/packaging/kernel/kata_config_version)" @@ -207,7 +207,7 @@ install_dragonball_experimental_kernel() { } #Install experimental kernel asset -install_experimental_kernel() { +install_kernel_experimental() { info "build experimental kernel" export kernel_version="$(yq r $versions_yaml assets.kernel-experimental.tag)" local kernel_kata_config_version="$(cat ${repo_root_dir}/tools/packaging/kernel/kata_config_version)" @@ -382,9 +382,9 @@ handle_build() { nydus) install_nydus ;; - kernel-dragonball-experimental) install_dragonball_experimental_kernel ;; + kernel-dragonball-experimental) install_kernel_dragonball_experimental ;; - kernel-experimental) install_experimental_kernel ;; + kernel-experimental) install_kernel_experimental ;; qemu) install_qemu ;;