From bdadaf53259add636ddef83565928eb87c128148 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Sat, 10 Jun 2023 00:43:51 +0200 Subject: [PATCH] Start OS Agent only when boot partition is mounted (#2583) To read the current LED configuration correctly /mnt/boot is required. This change makes sure that the boot partition is mounted when the OS Agent starts. --- .../usr/lib/systemd/system/haos-agent.service.d/haos.conf | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 buildroot-external/rootfs-overlay/usr/lib/systemd/system/haos-agent.service.d/haos.conf diff --git a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/haos-agent.service.d/haos.conf b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/haos-agent.service.d/haos.conf new file mode 100644 index 000000000..23ae16a64 --- /dev/null +++ b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/haos-agent.service.d/haos.conf @@ -0,0 +1,2 @@ +[Unit] +After=mnt-boot.mount