mdadm: Use systemd tmpfile

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl 2023-03-18 21:21:21 +01:00 committed by Michael Tremer
parent 6ef843bce6
commit 3b750b7cb2
2 changed files with 2 additions and 6 deletions

View File

@ -5,7 +5,7 @@
name = mdadm
version = 4.2
release = 1
release = 2
groups = System/Base
url = http://www.kernel.org/pub/linux/utils/raid/mdadm/
@ -48,11 +48,6 @@ build
BINDIR=%{sbindir} \
UDEVDIR=%{prefix}/%{lib}/udev \
SYSTEMD_DIR="%{unitdir}"
install_cmds
mkdir -pv %{BUILDROOT}/var/run/mdadm
chmod 700 %{BUILDROOT}/var/run/mdadm
end
end
packages

1
mdadm/mdadm.tmpfiles Normal file
View File

@ -0,0 +1 @@
d /run/mdadm 0700 root root -