From be2a64f4d23a4edf09713ccfc256721cf4769a75 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 29 Dec 2020 13:46:40 +0100 Subject: [PATCH] Add hassos-apparmor dependency to supervisor (#1140) The supervisor container requires the "hassio-supervisor" AppArmor profile. Make sure our AppArmor service hassos-apparmor is a dependency of the hassos-supervisor.service. --- .../usr/lib/systemd/system/hassos-supervisor.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service index 9d7be631c..d282cfb63 100644 --- a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service +++ b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service @@ -1,7 +1,7 @@ [Unit] Description=HassOS supervisor Requires=docker.service rauc.service dbus.service -Wants=network-online.target +Wants=network-online.target hassos-apparmor.service After=docker.service rauc.service dbus.service network-online.target RequiresMountsFor=/mnt/data /mnt/boot /mnt/overlay StartLimitIntervalSec=60