forked from pool/usbguard
Accepting request 819800 from hardware
OBS-URL: https://build.opensuse.org/request/show/819800 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=10
This commit is contained in:
commit
b950fd774b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 9 12:57:34 UTC 2020 - Robert Frohl <rfrohl@suse.com>
|
||||
|
||||
- disable system call filtering in systemd service file for Leap 15.X (boo#1173750)
|
||||
* daemon wont start on Leap otherwise
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 11:40:03 UTC 2020 - Robert Frohl <rfrohl@suse.com>
|
||||
|
||||
|
@ -123,6 +123,11 @@ install -p -m 600 %{SOURCE3} %{buildroot}%{_sysconfdir}/usbguard/usbguard-daemon
|
||||
mkdir -p %{buildroot}%{_datadir}/zsh/site-functions/
|
||||
install -p -m 644 scripts/usbguard-zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_usbguard
|
||||
|
||||
# turn off system call filtering in Leap 15.X, as it interferes with daemon start up (boo#1173750)
|
||||
%if 0%{?suse_version} == 1500 && 0%{?is_opensuse}
|
||||
sed -i '/^SystemCallFilter=@system-service/d' %{buildroot}%{_unitdir}/usbguard.service
|
||||
%endif
|
||||
|
||||
# Cleanup
|
||||
find %{buildroot} \( -name '*.la' -o -name '*.a' \) -delete
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user