Adding hook to remove dbus machine id.

This commit is contained in:
Daniel Baumann 2011-10-22 18:06:03 +02:00
parent 06faa01004
commit 6d7dbfbee9
2 changed files with 11 additions and 0 deletions

View File

@ -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 \

View File

@ -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