From: Stefan Schantl Date: Sat, 18 Mar 2023 20:15:26 +0000 (+0100) Subject: lvm2: Do not ship /run and it's content X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ef843bce621401c0d2367da753e7b464f5fbf1f;p=people%2Fstevee%2Fipfire-3.x.git lvm2: Do not ship /run and it's content This violetes our FHS specs Signed-off-by: Stefan Schantl --- diff --git a/lvm2/lvm2.nm b/lvm2/lvm2.nm index abcdd1bd9..4acd10799 100644 --- a/lvm2/lvm2.nm +++ b/lvm2/lvm2.nm @@ -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