From 8153d9b0f978d633c8422011d4c547ae1f0e51a4 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Jun 25 2024 08:29:02 +0000 Subject: Revert "Remove tmpfiles snippet for /home and /srv" This reverts commit a76669ee222fc4374f14f7e2a6e9a28c5ad87c0e. People create /usr-only images by making an installation and only picking up /usr from it. In that case, the snippet is needed to re-recreate /home on the rootfs. --- diff --git a/systemd.spec b/systemd.spec index eb527cc..1fdfc20 100644 --- a/systemd.spec +++ b/systemd.spec @@ -937,10 +937,6 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ rm %{buildroot}/usr/lib/sysusers.d/basic.conf %endif -# /home and /srv are created by filesystem. -# Remove our config to avoid confusion where those are defined. -rm %{buildroot}/usr/lib/tmpfiles.d/home.conf - %find_lang %{name} # Split files in build root into rpms