
# To validate UUIDs (Universally Unique IDs)
chroot "$rootdir" /usr/bin/dbus-uuidgen --ensure 2> /dev/null

# Make symlink for compatibility at /etc
mkdir -p -- "${rootdir}/var/lib/dbus"
chown -- messagebus "${rootdir}/var/lib/dbus"
ln -sf -- "${rootdir}/var/lib/dbus/machine-id" "${rootdir}/etc"

