1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 09:21:26 +03:00
systemd/sysctl.d
Jörg Thalheim d7aa78c32f meson: add option to skip installing to $sysconfdir
This is useful for development where overwriting files out side
the configured prefix will affect the host as well as stateless
systems such as NixOS that don't let packages install to /etc but handle
configuration on their own.

Alternative to https://github.com/systemd/systemd/pull/17501

tested with:

$ mkdir inst build && cd build
$ meson \
  -Dcreate-log-dirs=false \
  -Dsysvrcnd-path=$(realpath ../inst)/etc/rc.d \
  -Dsysvinit-path=$(realpath ../inst)/etc/init.d \
  -Drootprefix=$(realpath ../inst) \
  -Dinstall-sysconfdir=false \
  --prefix=$(realpath ../inst) ..
$ ninja install
2020-11-12 11:21:46 +01:00
..
50-coredump.conf.in sysctl: set kernel.core_pipe_limit=16 2020-10-13 09:31:13 +02:00
50-default.conf sysctl: set ipv4 settings in a race-free way 2020-02-04 00:01:50 +01:00
50-pid-max.conf sysctl: bump pid range only on 64-bit systems 2019-05-20 18:13:59 +02:00
meson.build meson: add option to skip installing to $sysconfdir 2020-11-12 11:21:46 +01:00