mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-08 12:34:23 +02:00
main/dbus: Remove uuid generation from post-install
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>
This commit is contained in:
parent
dab61cbcc9
commit
0af557e86d
2 changed files with 2 additions and 5 deletions
main/dbus
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=dbus
|
||||
pkgver=1.12.16
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Freedesktop.org message bus system"
|
||||
options="!check" # Introduces circular dependency with xorg-server (xvfb-run -> xvfb)
|
||||
url="https://www.freedesktop.org/Software/dbus"
|
||||
|
@ -14,7 +14,7 @@ depends_dev="util-linux-dev"
|
|||
makedepends="$depends_dev expat-dev libx11-dev autoconf automake libtool xmlto
|
||||
libsm-dev glib-dev"
|
||||
checkdepends="xvfb-run"
|
||||
install="$pkgname.pre-install $pkgname.post-install"
|
||||
install="$pkgname.pre-install"
|
||||
source="https://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz
|
||||
$pkgname.initd
|
||||
"
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec dbus-uuidgen --ensure=/etc/machine-id
|
Loading…
Add table
Add a link
Reference in a new issue