mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Home Assistant OS 16.0.rc1 contains bump of Hailo driver and firmware to v4.21.0, update Frigate's userspace libraries to the same version to fix compatibility.
		
			
				
	
	
		
			15 lines
		
	
	
		
			476 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			476 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| set -euxo pipefail
 | |
| 
 | |
| hailo_version="4.21.0"
 | |
| 
 | |
| if [[ "${TARGETARCH}" == "amd64" ]]; then
 | |
|     arch="x86_64"
 | |
| elif [[ "${TARGETARCH}" == "arm64" ]]; then
 | |
|     arch="aarch64"
 | |
| fi
 | |
| 
 | |
| wget -qO- "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-debian12-${TARGETARCH}.tar.gz" | tar -C / -xzf -
 | |
| wget -P /wheels/ "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-${hailo_version}-cp311-cp311-linux_${arch}.whl"
 |