[util-iso] machine-id: ln is better than cp

This commit is contained in:
Philip 2015-01-10 16:48:13 +01:00
parent 3413a950d4
commit 647c7d298e

View file

@ -18,7 +18,7 @@ configure_machine_id(){
# set unique machine-id
msg2 "Setting machine-id ..."
chroot $1 dbus-uuidgen --ensure=/etc/machine-id
chroot $1 cp /etc/machine-id /var/lib/dbus/machine-id
chroot $1 ln -s /etc/machine-id /var/lib/dbus/machine-id
}
# $1: chroot