1
0

systemd: Rename socket_in_def -> socket_in_default

The meaning of the _def suffix might not be immediately obvious,
especially since it's also used to refer to the output of the
meson-gen-def.py script elsewhere in the same file.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Andrea Bolognani 2023-09-25 16:57:25 +02:00
parent 48d7b77ecf
commit 6922526dbb

View File

@ -826,12 +826,12 @@ if conf.has('WITH_LIBVIRTD')
foreach socket : unit.get('sockets', [ 'main', 'ro', 'admin' ])
if socket == 'main'
socket_in_def = 'remote' / 'libvirtd.socket.in'
socket_in = unit.get('socket_in', socket_in_def)
socket_in_default = 'remote' / 'libvirtd.socket.in'
socket_in = unit.get('socket_in', socket_in_default)
socket_out = '@0@.socket'.format(unit['service'])
else
socket_in_def = 'remote' / 'libvirtd-@0@.socket.in'.format(socket)
socket_in = unit.get('socket_@0@_in'.format(socket), socket_in_def)
socket_in_default = 'remote' / 'libvirtd-@0@.socket.in'.format(socket)
socket_in = unit.get('socket_@0@_in'.format(socket), socket_in_default)
socket_out = '@0@-@1@.socket'.format(unit['service'], socket)
endif
configure_file(