]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
lvm2: Do not ship /run and it's content
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 18 Mar 2023 20:15:26 +0000 (21:15 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:25:39 +0000 (18:25 +0000)
This violetes our FHS specs

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
lvm2/lvm2.nm

index abcdd1bd992e5e9db6709f3913fda29d81a8d429..4acd1079990740b2a5888d3c377a47d507f53259 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = lvm2
 version    = 2.03.16
-release    = 1
+release    = 2
 thisapp    = LVM2.%{version}
 
 groups     = System/Base
@@ -72,6 +72,9 @@ build
                make install_systemd_units DESTDIR=%{BUILDROOT}
                make install_systemd_generators DESTDIR=%{BUILDROOT}
                make install_tmpfiles_configuration DESTDIR=%{BUILDROOT}
+
+               # Remove /run and it's content.
+               rm -rvf %{BUILDROOT}/run
        end
 end