operating-system icon indicating copy to clipboard operation
operating-system copied to clipboard

Fix rauc hook to restore machine-id in new grub environment

Open claplace opened this issue 7 months ago • 2 comments

Without a machine-id, the next boot will be considered as a first boot, and any external data disk will be disabled.

Fixes #3247.

Screenshot 2024-06-29 at 12 32 46

After installing my raucb update bundle and a reboot:

Jun 29 16:34:38 homeassistant kernel: Kernel command line: BOOT_IMAGE=(hd0,gpt4)/Image root=PARTUUID=a3ec664e-32ce-4665-95ea-7ae90ce9aa20 rootwait zram.enabled=1 zram.num_devices=3 systemd.machine_id=6c631b4986cb426f9b7860df4ce10629 fsck.repair=yes console=ttyS0 console=tty0 rauc.slot=B

The machine-id has been conserved 👍

claplace avatar Jun 29 '24 16:06 claplace