Merge branch 'devel' of github.com:manjaro/manjaro-tools into devel
This commit is contained in:
commit
3b301bd340
1 changed files with 3 additions and 3 deletions
|
@ -18,13 +18,13 @@ configure_machine_id(){
|
|||
# set unique machine-id
|
||||
msg2 "Setting machine-id ..."
|
||||
if [[ -z "$(echo $1 | grep root-image)" ]];then
|
||||
chroot $1 dbus-uuidgen --ensure=/etc/machine-id
|
||||
chroot $1 ln -s /etc/machine-id /var/lib/dbus/machine-id
|
||||
else
|
||||
mkdir -p $1/etc
|
||||
mkdir -p $1/var/lib/dbus
|
||||
dbus-uuidgen --ensure=$1/etc/machine-id
|
||||
ln -s /etc/machine-id $1/var/lib/dbus/machine-id
|
||||
else
|
||||
chroot $1 dbus-uuidgen --ensure=/etc/machine-id
|
||||
chroot $1 ln -s /etc/machine-id /var/lib/dbus/machine-id
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue