Don't complain if /dev/urandom is unavailable
This commit is contained in:
parent
1ebf8dd816
commit
764adb18da
@ -715,8 +715,12 @@ if [ -f %{_localstatedir}/lib/systemd/clock ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
udevadm hwdb --update &>/dev/null
|
udevadm hwdb --update &>/dev/null
|
||||||
|
|
||||||
%systemd_post %udev_services
|
%systemd_post %udev_services
|
||||||
/usr/lib/systemd/systemd-random-seed save 2>&1
|
|
||||||
|
# Try to save the random seed, but don't complain if /dev/urandom is unavailable
|
||||||
|
/usr/lib/systemd/systemd-random-seed save 2>&1 | \
|
||||||
|
grep -v 'Failed to open /dev/urandom' || :
|
||||||
|
|
||||||
# Replace obsolete keymaps
|
# Replace obsolete keymaps
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1151958
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1151958
|
||||||
|
Loading…
Reference in New Issue
Block a user