]> git.ipfire.org Git - thirdparty/libvirt.git/commit
meson: Generate runstatedir according to newer standard
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Feb 2025 16:49:20 +0000 (17:49 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 4 Mar 2025 07:36:21 +0000 (08:36 +0100)
commite5299ddf86121d3c792ca271ffcb54900eb19dc3
tree8d8e5f03a058d87eec3b30210e6b43739c404763
parent100dd5f3a736f21302c5e77b77f9f1a4e87aebe6
meson: Generate runstatedir according to newer standard

While previously FHS 2.3 defined /var/run as a place to store
runtime information [1] it's no longer 2004 and newer
specification was released which favors /run [2]. Since it was
released 10 years ago, maybe it's time we start honouring it.

On majority of Linux systems (if not all), /var/run is a symlink
to /run anyways.

Users can still pass old location via -Drunstatedir.

1: https://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA
2: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
meson.build