diff --git a/srcpkgs/systemd/INSTALL b/srcpkgs/systemd/INSTALL index a4106c89b2..7c22ecac50 100644 --- a/srcpkgs/systemd/INSTALL +++ b/srcpkgs/systemd/INSTALL @@ -1,5 +1,7 @@ case "${ACTION}" in post) - [ ! -f etc/machine-id ] && bin/systemd-machine-id-setup + if [ -c dev/urandom -a ! -f etc/machine-id ]; then + bin/systemd-machine-id-setup + fi ;; esac diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index 557d98a886..31acf8d559 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -1,7 +1,7 @@ # Template file for 'systemd' pkgname=systemd version=37 -revision=2 +revision=3 distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--with-distro=other --with-rootdir=