mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-12-10 00:30:37 -06:00
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:
parent
0c96507ca2
commit
b3755e9f45
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user