summaryrefslogtreecommitdiff
path: root/export-image
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2025-06-02 22:09:14 +0100
committerSerge Schneider <serge@raspberrypi.com>2025-08-19 15:23:07 +0100
commitc4e9044fafc7fd7dbb12b227c2052c71f7aab4db (patch)
tree0eb7981620cc4b02e73c2e48740201d2a2837a43 /export-image
parenta62422ce71383f69b12679d7caf82459beb525de (diff)
Set machine-id to "uninitialized" to signal first boot
Diffstat (limited to 'export-image')
-rwxr-xr-xexport-image/05-finalise/01-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/export-image/05-finalise/01-run.sh b/export-image/05-finalise/01-run.sh
index 860b97f..79a01e2 100755
--- a/export-image/05-finalise/01-run.sh
+++ b/export-image/05-finalise/01-run.sh
@@ -51,7 +51,7 @@ rm -f "${ROOTFS_DIR}"/usr/share/icons/*/icon-theme.cache
rm -f "${ROOTFS_DIR}/var/lib/dbus/machine-id"
-true > "${ROOTFS_DIR}/etc/machine-id"
+echo "uninitialized" > "${ROOTFS_DIR}/etc/machine-id"
ln -nsf /proc/mounts "${ROOTFS_DIR}/etc/mtab"