mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-11 10:41:37 +02:00
birdnet-go: rebuild with current templates
The builder reuses the previous image's layers, and ha_automodules.sh downloads the .templates/ cont-init scripts at build time, so the module layer survived rebuilds: the 2026-08-28 image (version 20260827) still carried the scripts downloaded on 2026-08-26. #3076's "localdisks: NAS/folder" therefore never reached this add-on, and the old script reported "Birdnet-Go does not match any known physical device". Add a BUILD_DATE marker to that RUN, as birdnet-go-dev and claude_desktop (#3097) do, and bump the version so the builder runs. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
## 20260827.1 (07-10-2026)
|
||||
|
||||
- Fix: the image kept the `.templates/` scripts of an earlier build, because a rebuild reused the cached module-download layer (the 2026-08-28 image still carried 2026-08-26 scripts). The layer is now refreshed on every build, so template fixes reach this add-on.
|
||||
- Local disks: `localdisks` can now mount a single folder of a disk with `disk/folder` (e.g. `sda1/public` or `NAS/public`, mounted at `/mnt/<disk>/<folder>`). Existing values are unchanged.
|
||||
- Migrate legacy add-on configuration map names to current app configuration terminology.
|
||||
|
||||
|
||||
## 20260827 (2026-08-29)
|
||||
- Update to latest version from tphakala/birdnet-go (changelog : https://github.com/tphakala/birdnet-go/releases)
|
||||
- Upstream tag : 20260823
|
||||
|
||||
@@ -57,9 +57,15 @@ RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; f
|
||||
# Modules
|
||||
ARG MODULES="00-local_mounts.sh 00-smb_mounts.sh"
|
||||
|
||||
# BUILD_DATE changes on every CI run, busting this layer's cache. The builder reuses
|
||||
# the layers of the previous image, and ha_automodules.sh downloads the .templates/
|
||||
# scripts at build time, so without it a rebuild keeps the scripts of an earlier build
|
||||
ARG BUILD_DATE=unknown
|
||||
|
||||
# Automatic modules download
|
||||
COPY ha_automodules.sh /ha_automodules.sh
|
||||
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
|
||||
RUN echo "Build date marker: ${BUILD_DATE}" && \
|
||||
chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
|
||||
|
||||
# Manual apps
|
||||
ENV PACKAGES="alsa-utils libasound2-plugins nginx yq"
|
||||
|
||||
@@ -128,4 +128,4 @@ slug: birdnet-go
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-go
|
||||
usb: true
|
||||
version: "20260827"
|
||||
version: "20260827.1"
|
||||
|
||||
Reference in New Issue
Block a user