Adding hook to remove dbus machine id.
This commit is contained in:
parent
06faa01004
commit
6d7dbfbee9
|
@ -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 \
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue