Use ConditionVirtualization to skip the service in containers
This commit is contained in:
parent
e56bc421e6
commit
d6d037f553
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Console Mouse manager
|
Description=Console Mouse manager
|
||||||
|
ConditionVirtualization=!container
|
||||||
|
|
||||||
# This could probably benefit from socket activation, but honestly I think it
|
# This could probably benefit from socket activation, but honestly I think it
|
||||||
# is time for gpm to go away, and hence I am not planning to spend the time
|
# is time for gpm to go away, and hence I am not planning to spend the time
|
||||||
|
5
gpm.spec
5
gpm.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A mouse server for the Linux console
|
Summary: A mouse server for the Linux console
|
||||||
Name: gpm
|
Name: gpm
|
||||||
Version: 1.20.7
|
Version: 1.20.7
|
||||||
Release: 22%{?dist}
|
Release: 23%{?dist}
|
||||||
License: GPLv2 and GPLv2+ with exceptions and GPLv3+ and Verbatim and Copyright only
|
License: GPLv2 and GPLv2+ with exceptions and GPLv3+ and Verbatim and Copyright only
|
||||||
URL: http://www.nico.schottelius.org/software/gpm/
|
URL: http://www.nico.schottelius.org/software/gpm/
|
||||||
#URL2 : http://freecode.com/projects/gpm
|
#URL2 : http://freecode.com/projects/gpm
|
||||||
@ -150,6 +150,9 @@ rm -rf %{buildroot}%{_mandir}
|
|||||||
%{_libdir}/libgpm.a
|
%{_libdir}/libgpm.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 24 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.20.7-23
|
||||||
|
- Do not run gpm in the container (#1524034)
|
||||||
|
|
||||||
* Thu Jun 18 2020 Sérgio Basto <sergio@serjux.com> - 1.20.7-22
|
* Thu Jun 18 2020 Sérgio Basto <sergio@serjux.com> - 1.20.7-22
|
||||||
- Two patches have been upstreamed
|
- Two patches have been upstreamed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user