mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Rename esphomeyaml to esphome (#426)
* Rename * Update * Add migration * Fix * Fix dashboard * Change test * Fixes * Code cleanup * Fix import order * Update * Automate docker builds * Shellcheck
This commit is contained in:
		
							
								
								
									
										18
									
								
								docker/hooks/pre_build
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										18
									
								
								docker/hooks/pre_build
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| #!/usr/bin/env bash | ||||
|  | ||||
| # the architecture to build | ||||
| declare BUILD_ARCH | ||||
|  | ||||
| echo "BUILD_ARCH: ${BUILD_ARCH}" | ||||
|  | ||||
| if [[ ${BUILD_ARCH} = "amd64" ]]; then | ||||
|     echo "No qemu required..." | ||||
|     exit 0 | ||||
| fi | ||||
| if [[ ${BUILD_ARCH} = "i386" ]]; then | ||||
|     echo "No qemu required..." | ||||
|     exit 0 | ||||
| fi | ||||
|  | ||||
| echo "Installing qemu..." | ||||
| docker run --rm --privileged multiarch/qemu-user-static:register --reset | ||||
		Reference in New Issue
	
	Block a user