mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-04 22:57:21 +02:00
data: add and install sysusers.d gamemode.conf
Add a trivial gamemode.conf file, which creates the gamemode group. v2: git add gamemode.conf (d'oh) Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
ab06ba419e
commit
898feb9c52
1
data/gamemode.conf
Normal file
1
data/gamemode.conf
Normal file
@ -0,0 +1 @@
|
||||
g gamemode - -
|
@ -20,6 +20,11 @@ if sd_bus_provider == 'systemd'
|
||||
configuration: data_conf,
|
||||
install_dir: path_systemd_unit_dir,
|
||||
)
|
||||
# Install the sysusers.d file
|
||||
install_data(
|
||||
files('gamemode.conf'),
|
||||
install_dir: path_systemd_sysusers_dir,
|
||||
)
|
||||
endif
|
||||
|
||||
# Install the D-BUS service file
|
||||
|
@ -111,6 +111,8 @@ if sd_bus_provider == 'systemd'
|
||||
pkgconfig_systemd = dependency('systemd')
|
||||
path_systemd_unit_dir = pkgconfig_systemd.get_pkgconfig_variable('systemduserunitdir')
|
||||
endif
|
||||
pkgconfig_systemd = dependency('systemd')
|
||||
path_systemd_sysusers_dir = pkgconfig_systemd.get_pkgconfig_variable('sysusersdir')
|
||||
endif
|
||||
|
||||
with_limits_conf = get_option('with-pam-group')
|
||||
|
Loading…
x
Reference in New Issue
Block a user