summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build/lb_chroot_hacks3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/lb_chroot_hacks b/scripts/build/lb_chroot_hacks
index 5b8681a7a..d27d2d48b 100755
--- a/scripts/build/lb_chroot_hacks
+++ b/scripts/build/lb_chroot_hacks
@@ -140,6 +140,9 @@ do
esac
done
+# Removing dbus machine id.
+rm -f chroot/var/lib/dbus/machine-id
+
# Removing openssh-server hostkeys,
# they are regenerated by live-config.
rm -f chroot/etc/ssh/ssh_host_*_key chroot/etc/ssh/ssh_host_*_key.pub