diff options
Diffstat (limited to 'packaging/systemd.spec')
-rw-r--r-- | packaging/systemd.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/systemd.spec b/packaging/systemd.spec index 1e9b07fee4..fb1f4129cf 100644 --- a/packaging/systemd.spec +++ b/packaging/systemd.spec @@ -7,6 +7,8 @@ %define release_flags %{?with_kdbus:+kdbus} +%define WITH_RANDOMSEED 0 + Name: systemd Version: 219 Release: 0%{?release_flags} @@ -128,6 +130,9 @@ cp %{SOURCE1001} . %autogen %configure \ %{enable kdbus} \ +%if ! %{WITH_RANDOMSEED} + --disable-randomseed \ +%endif --enable-compat-libs \ --enable-bootchart \ --disable-hwdb \ @@ -265,7 +270,9 @@ rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-hibernate-re %post /usr/bin/systemd-machine-id-setup > /dev/null 2>&1 || : +%if %{WITH_RANDOMSEED} /usr/lib/systemd/systemd-random-seed save > /dev/null 2>&1 || : +%endif /usr/bin/systemctl daemon-reexec > /dev/null 2>&1 || : /usr/bin/systemctl start systemd-udevd.service >/dev/null 2>&1 || : |