Skip to content

Commit bc005af

Browse files
committed
meta-lxatac-bsp: rauc: add placeholder for polling section to system.conf
The polling information (interval, URL, auto-install behaviour, etc.) is only known to the tacd. To pass them to RAUC the tacd will read the config in `/usr/lib/rauc/system.conf` replace the placeholder added in this commit with a proper polling secion and place the result in `/run/rauc/system.conf`. After a deamon restart RAUC can handle update polling and installation on its own. Signed-off-by: Leonard Göhrs <[email protected]>
1 parent 48344bc commit bc005af

File tree

1 file changed

+9
-0
lines changed
  • meta-lxatac-bsp/recipes-core/rauc/files/lxatac

1 file changed

+9
-0
lines changed

meta-lxatac-bsp/recipes-core/rauc/files/lxatac/system.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# WARNING: this file is read by the tacd and used as a template to generate a
2+
# version with additional update polling configuration.
3+
# The original file is placed in `/usr/lib/rauc/system.conf`, while the runtime
4+
# version is placed in `/run/rauc/system.conf`.
5+
# The latter may not exist if polling is not enabled and thus no special
6+
# runtime config is required.
7+
18
[system]
29
compatible=Linux Automation GmbH - LXA TAC
310
bootloader=barebox
@@ -13,6 +20,8 @@ system-info=/usr/lib/rauc/system-info-handler.sh
1320
[streaming]
1421
send-headers=boot-id;system-version;serial;transaction-id;uptime
1522

23+
# <tacd-poll-section>
24+
1625
[slot.rootfs.0]
1726
device=/dev/disk/by-partuuid/e82e6873-62cc-46fb-90f0-3e936743fa62
1827
type=ext4

0 commit comments

Comments
 (0)