From: Max Gautier Date: Tue, 5 Mar 2024 08:54:47 +0000 (+0100) Subject: Don't install systemdstatedir (/var/lib/systemd) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9013347ba956c0c2f34f011c54f421a13912b7ab;p=thirdparty%2Fsystemd.git Don't install systemdstatedir (/var/lib/systemd) systemdstatedir is created by tmpfiles conf (tmpfiles.d/systemd.conf.in) already. By shipping it, systemd prevents the effect of tmpfiles.d/var.conf.in: q /var 0755 - - - This should helps implementing the "Hermetic /usr" pattern. Links: https://0pointer.net/blog/fitting-everything-together.html --- diff --git a/meson.build b/meson.build index 67c495155d1..a68fc386e6b 100644 --- a/meson.build +++ b/meson.build @@ -2820,8 +2820,6 @@ install_data('LICENSE.GPL2', install_subdir('LICENSES', install_dir : docdir) -install_emptydir(systemdstatedir) - ##################################################################### # Ensure that changes to the docs/ directory do not break the