[SCM] live-build branch, debian-next, updated. debian/3.0_a37-1-4-g98a4daa

Daniel Baumann daniel at debian.org
Sat Oct 22 16:07:16 UTC 2011


The following commit has been merged in the debian-next branch:
commit 6d7dbfbee903ab3127f9fd4782bc6b8f77e542fd
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat Oct 22 18:06:03 2011 +0200

    Adding hook to remove dbus machine id.

diff --git a/functions/defaults.sh b/functions/defaults.sh
index 25d973d..adfd172 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -629,6 +629,7 @@ Set_defaults ()
 			LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-update-apt-file-cache \
 				update-apt-xapian-index \
 				update-mlocate-database \
+				remove-dbus-machine-id \
 				remove-openssh-server-host-keys \
 				remove-python-py \
 				remove-udev-persistent-rules}"
@@ -638,6 +639,7 @@ Set_defaults ()
 			LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-update-apt-file-cache \
 				update-apt-xapian-index \
 				update-mlocate-database \
+				remove-dbus-machine-id \
 				remove-gnome-icon-cache \
 				remove-openssh-server-host-keys \
 				remove-python-py \
diff --git a/share/hooks/004-remove-dbus-machine-id.chroot b/share/hooks/004-remove-dbus-machine-id.chroot
new file mode 100755
index 0000000..230099e
--- /dev/null
+++ b/share/hooks/004-remove-dbus-machine-id.chroot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+# Remove dbus machine id.
+#
+# This removes dbus machine id that cache that makes each system unique.
+
+rm -f /var/lib/dbus/machine-id

-- 
live-build



More information about the debian-live-changes mailing list