Unverified Commit 3a59789e authored by Igor Pečovnik's avatar Igor Pečovnik Committed by GitHub
Browse files
parent 2ea172dd
...@@ -843,12 +843,12 @@ TARGET_BOARD=$(dialog --cancel-label "Cancel" --backtitle "$BACKTITLE" --no-coll ...@@ -843,12 +843,12 @@ TARGET_BOARD=$(dialog --cancel-label "Cancel" --backtitle "$BACKTITLE" --no-coll
exitstatus=$?; exitstatus=$?;
exec 3>&- exec 3>&-
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
install_docker #install_docker
debconf-apt-progress -- apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common debconf-apt-progress -- apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common
local arch=$(dpkg --print-architecture) local arch=$(dpkg --print-architecture)
[[ "$arch" == "arm64" ]] && arch="aarch64" [[ "$arch" == "arm64" ]] && arch="aarch64"
docker pull homeassistant/${arch}-homeassistant #docker pull homeassistant/${arch}-homeassistant
curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install" > ${TEMP_DIR}/hass.io.bash curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" > ${TEMP_DIR}/hass.io.bash
bash ${TEMP_DIR}/hass.io.bash -m ${TARGET_BOARD} bash ${TEMP_DIR}/hass.io.bash -m ${TARGET_BOARD}
dialog --backtitle "$BACKTITLE" --title "Please wait" --msgbox "\nIt can take several minutes before Home Assistant UI becomes available! " 7 75 dialog --backtitle "$BACKTITLE" --title "Please wait" --msgbox "\nIt can take several minutes before Home Assistant UI becomes available! " 7 75
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment