forked from mirrored-repos/manjaro-tools
[util-iso] machine-id: ln is better than cp
This commit is contained in:
parent
3413a950d4
commit
647c7d298e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue