Skip to content

Commit

Permalink
create machine id on boot when use ubuntu-rockchip-install
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Riek committed Nov 15, 2023
1 parent dae0c4e commit 4790f95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions overlay/usr/bin/ubuntu-rockchip-install
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ UUID=${root_uuid,,} / ext4 defaults 0 1
/swapfile none swap sw 0 0
EOF

# Let systemd create machine id on first boot
rm -f ${mount_point}/writable/var/lib/dbus/machine-id
true > ${mount_point}/writable/etc/machine-id

sync --file-system
sync

Expand Down

0 comments on commit 4790f95

Please sign in to comment.