Use correct per-channel AppArmor profile on clean installs (#4396)

Since home-assistant/version#305 the AppArmor profiles were split to
per-channel files. This was never reflected in hassio package build though.
Currently this doesn't cause any trouble and the profile is replaced later by
the Supervisor but make sure we're always using the correct one from the
beginning.
This commit is contained in:
Jan Čermák 2025-11-11 16:05:20 +01:00 committed by GitHub
parent 0c96507ca2
commit b3755e9f45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ docker_version=$4
data_img="${dst_dir}/data.ext4"
data_dir="${build_dir}/data"
APPARMOR_URL="https://version.home-assistant.io/apparmor.txt"
APPARMOR_URL="https://version.home-assistant.io/apparmor_${channel}.txt"
# Make image
rm -f "${data_img}"