use the new build.yaml to get HA base version

This commit is contained in:
aptalca 2021-12-12 20:31:22 -05:00
parent 309b73d3c6
commit 25c30afafe
5 changed files with 11 additions and 9 deletions

View File

@ -70,9 +70,9 @@ RUN \
tar xf \
/tmp/core.tar.gz -C \
/tmp/core --strip-components=1 && \
HASS_BASE=$(cat /tmp/core/build.json \
| jq -r .build_from.amd64 \
| cut -d: -f2) && \
HASS_BASE=$(cat /tmp/core/build.yaml \
| grep 'amd64: ' \
| cut -d: -f3) && \
mkdir -p /pip-packages && \
pip install --target /pip-packages --no-cache-dir --upgrade \
distlib && \

View File

@ -70,9 +70,9 @@ RUN \
tar xf \
/tmp/core.tar.gz -C \
/tmp/core --strip-components=1 && \
HASS_BASE=$(cat /tmp/core/build.json \
| jq -r .build_from.aarch64 \
| cut -d: -f2) && \
HASS_BASE=$(cat /tmp/core/build.yaml \
| grep 'amd64: ' \
| cut -d: -f3) && \
pip install --target /pip-packages --no-cache-dir --upgrade \
distlib && \
pip install --no-cache-dir --upgrade \

View File

@ -70,9 +70,9 @@ RUN \
tar xf \
/tmp/core.tar.gz -C \
/tmp/core --strip-components=1 && \
HASS_BASE=$(cat /tmp/core/build.json \
| jq -r .build_from.armhf \
| cut -d: -f2) && \
HASS_BASE=$(cat /tmp/core/build.yaml \
| grep 'amd64: ' \
| cut -d: -f3) && \
pip install --target /pip-packages --no-cache-dir --upgrade \
distlib && \
pip install --no-cache-dir --upgrade \

View File

@ -238,6 +238,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **12.12.21:** - Use the new `build.yaml` to determine HA base version.
* **25.09.21:** - Use the new lsio homeassistant wheel repo, instead of the HA wheels.
* **13.09.21:** - Build psycopg locally as the HA provided wheel does not seem to work properly.
* **13.09.21:** - Fix setcap in service. Build CISO8601 locally as the HA provided wheel does not seem to work properly.

View File

@ -59,6 +59,7 @@ unraid_template_sync: false
# changelog
changelogs:
- { date: "12.12.21:", desc: "Use the new `build.yaml` to determine HA base version." }
- { date: "25.09.21:", desc: "Use the new lsio homeassistant wheel repo, instead of the HA wheels." }
- { date: "13.09.21:", desc: "Build psycopg locally as the HA provided wheel does not seem to work properly." }
- { date: "13.09.21:", desc: "Fix setcap in service. Build CISO8601 locally as the HA provided wheel does not seem to work properly." }