setup: Do not create /run/motd.d folder

Message ID 20230317145031.212025-1-stefan.schantl@ipfire.org
State Accepted
Commit 2f36f464cae8770929e90b3e8f27b976f4544f79
Headers
Series setup: Do not create /run/motd.d folder |

Commit Message

Stefan Schantl March 17, 2023, 2:50 p.m. UTC
  This folder will be created from systemd by the corresponding
tmpfiles script and fails our FHS checks.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 setup/setup.nm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
  

Patch

diff --git a/setup/setup.nm b/setup/setup.nm
index 3b41b2d3f..cee66fab4 100644
--- a/setup/setup.nm
+++ b/setup/setup.nm
@@ -5,7 +5,7 @@ 
 
 name       = setup
 version    = 3.0
-release    = 17
+release    = 18
 arch       = noarch
 
 groups     = Base Build System/Base
@@ -60,7 +60,6 @@  build
 
 		# Create MOTD (message of the day) folder layout.	
 		mkdir -p %{BUILDROOT}/etc/motd.d
-		mkdir -p %{BUILDROOT}/run/motd.d
 		mkdir -p %{BUILDROOT}/usr/lib/motd.d
 		touch %{BUILDROOT}/usr/lib/motd