Add log to post script (temporary, to try to find build failure)
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/csync2?expand=0&rev=27
This commit is contained in:
parent
ec8ecffa4f
commit
9c47c1e639
@ -101,6 +101,7 @@ touch %{buildroot}%{_sysconfdir}/csync2/csync2_ssl_cert.pem
|
||||
|
||||
%post
|
||||
%service_add_post csync2.socket
|
||||
echo "add post $?"
|
||||
umask 077
|
||||
if [ ! -f %{_sysconfdir}/csync2/csync2_ssl_key.pem ]; then
|
||||
/usr/bin/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > %{_sysconfdir}/csync2/csync2_ssl_key.pem 2>/dev/null
|
||||
@ -120,6 +121,7 @@ SomeName
|
||||
name@example.com
|
||||
EOF
|
||||
fi
|
||||
echo "cert $?"
|
||||
|
||||
%preun
|
||||
%service_del_preun csync2.socket
|
||||
|
Loading…
x
Reference in New Issue
Block a user