aports/main/dbus/dbus.post-install
Natanael Copa e2c5069ec5 main/dbus: re-add uuid generation from post-install
we need /etc/machine-id for some testsuites, for example for main/gcr.

We solve the missing /dev/urandom in chroot by falling back to
getrandom(2).

fixes #11327

Upstream merge request:
https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/147

This reverts commit 0af557e86d.
2020-03-24 12:03:25 +00:00

3 lines
54 B
Bash

#!/bin/sh
exec dbus-uuidgen --ensure=/etc/machine-id