systemd: only run systemd-machine-id-setup if /dev/urandom exists.
This commit is contained in:
parent
2ced4a9f4e
commit
3dd3840f3a
|
@ -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
|
||||
|
|
|
@ -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=
|
||||
|
|
Loading…
Reference in New Issue