aboutsummaryrefslogtreecommitdiffstats
path: root/main/dbus/dbus.post-install
Commit message (Collapse)AuthorAgeFilesLines
* main/dbus: re-add uuid generation from post-installNatanael Copa2020-03-241-0/+3
| | | | | | | | | | | | | | 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 0af557e86d000ac9a1bc35a99b5d14d417c67d72.
* main/dbus: Remove uuid generation from post-installOlliver Schinagl2019-11-251-3/+0
| | | | | | | | | | | | | | | | | | | In the past, dbus uuid generation was done as a post install step. Years later, this was copied/moved into the start-up script. This makes a lot of sense, where in the post-install step it does not. More importantly however, when bootstrapping alpine into a directory, with the dbus package, dbus-uuidgen fails during the post-install phase due to missing /dev/urandom, which is expected not to exist in a alternative root, as can be seen in the following error Failed to generate UUID: Could not open /dev/urandom: No such file or directory ERROR: dbus-1.12.16-r0.post-install: script exited with error 1 Lets drop this line all together as it serves no purpose with the UUID being generated at startup anyway. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
* main/dbus: consistent machine-id generation, simplify init.dTimo Teräs2019-06-091-1/+1
| | | | | generate /etc/machine-id in both init.d and post-install scripts for consistency. modernize init.d.
* main/dbus: added run dbus-uuidgen from post-installNatanael Copa2010-05-291-0/+3