From 597da90b0533fb0ead181dda71dbc06ebb9f37e8 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 7 Nov 2024 11:37:26 +0100 Subject: [PATCH] board/commoon: use dbus machine-id as /etc/machine-id Bootstrapping a system with D-Bus using Finit will create the machine-id file /var/lib/dbus/machine-id, this can be used as the unique machine-id for services like RAUC, so let's set that as /etc/machine-id to reduce the log spam we get otherwise: Nov 7 06:18:08 test-05-25-f8 rauc[5512]: Failed to get machine-id: Failed to open file M-^@M-^\/etc/machine-idM-^@M-^]: No such file or directory Signed-off-by: Joachim Wiberg --- board/common/rootfs/etc/machine-id | 1 + 1 file changed, 1 insertion(+) create mode 120000 board/common/rootfs/etc/machine-id diff --git a/board/common/rootfs/etc/machine-id b/board/common/rootfs/etc/machine-id new file mode 120000 index 00000000..03bf8583 --- /dev/null +++ b/board/common/rootfs/etc/machine-id @@ -0,0 +1 @@ +/var/lib/dbus/machine-id \ No newline at end of file