aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--initscripts.spec2
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4ae07556..a788e0ae 100644
--- a/Makefile
+++ b/Makefile
@@ -131,6 +131,9 @@ install:
ln -s ../fedora-storage-init.service $(ROOT)/lib/systemd/system/local-fs.target.wants
ln -s ../fedora-sysinit-unhack.service $(ROOT)/lib/systemd/system/multi-user.target.wants
+ mkdir -p $(ROOT)/etc/tmpfiles.d
+ install -m 644 initscripts.tmpfiles.d $(ROOT)/etc/tmpfiles.d/initscripts.conf
+
# These are LSB compatibility symlinks. At some point in the future
# the actual files will be here instead of symlinks
for i in 0 1 2 3 4 5 6 ; do \
diff --git a/initscripts.spec b/initscripts.spec
index a17b4844..5568850a 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -285,6 +285,8 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0600,root,utmp) /var/log/btmp
%ghost %attr(0664,root,utmp) /var/log/wtmp
%ghost %attr(0664,root,utmp) /var/run/utmp
+%dir /etc/tmpfiles.d
+/etc/tmpfiles.d/initscripts.conf
%files legacy
%defattr(-,root,root)