mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-10-31 17:37:20 +00:00 
			
		
		
		
	kata-deploy: Get rid of references to the docker script
The docker script has been removed as part of
62cbaf4de4, but references to it were left
behind in the artifact-list.sh, release/kata-deploy-binaries.sh, and
kata-deploy/Dockerfile.
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
			
			
This commit is contained in:
		| @@ -11,7 +11,6 @@ set -o nounset | ||||
|  | ||||
| supported_artifacts=( | ||||
|   "install_clh" | ||||
|   "install_docker_config_script" | ||||
|   "install_experimental_kernel" | ||||
|   "install_firecracker" | ||||
|   "install_image" | ||||
|   | ||||
| @@ -18,5 +18,4 @@ chmod +x /bin/kubectl | ||||
|  | ||||
| COPY scripts ${DESTINATION}/scripts | ||||
| RUN \ | ||||
| ln -s ${DESTINATION}/scripts/kata-deploy-docker.sh /usr/bin/kata-deploy-docker && \ | ||||
| ln -s ${DESTINATION}/scripts/kata-deploy.sh /usr/bin/kata-deploy | ||||
|   | ||||
| @@ -182,18 +182,6 @@ install_clh() { | ||||
| 	popd | ||||
| } | ||||
|  | ||||
| install_docker_config_script() { | ||||
| 	local docker_config_script_name="kata-configure-docker.sh" | ||||
| 	local docker_config_script="${pkg_root_dir}/static-build/scripts/${docker_config_script_name}" | ||||
|  | ||||
| 	local script_dest_dir="${destdir}/opt/kata/share/scripts" | ||||
|  | ||||
| 	mkdir -p "$script_dest_dir" | ||||
|  | ||||
| 	sudo install --owner root --group root --mode 0755 \ | ||||
| 		"$docker_config_script" "$script_dest_dir" | ||||
| } | ||||
|  | ||||
| #Install all components that are not assets | ||||
| install_kata_components() { | ||||
| 	kata_version=${1:-$kata_version} | ||||
| @@ -257,7 +245,6 @@ main() { | ||||
| 	install_qemu_virtiofsd | ||||
| 	install_firecracker | ||||
| 	install_image | ||||
| 	install_docker_config_script | ||||
|  | ||||
| 	untar_qemu_binaries | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user