diff options
author | Bill Nottingham <notting@redhat.com> | 2010-11-30 13:47:51 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-11-30 13:47:51 -0500 |
commit | d624aba089bd95acfe8f02bebb01c34a4f242216 (patch) | |
tree | 1c0ed2dcc0d374a369ce95efa12b60c1bf6c29c9 | |
parent | c56134d2db8b0aa9fb7c96b3142d108d57820b96 (diff) | |
download | initscripts-d624aba089bd95acfe8f02bebb01c34a4f242216.tar initscripts-d624aba089bd95acfe8f02bebb01c34a4f242216.tar.gz initscripts-d624aba089bd95acfe8f02bebb01c34a4f242216.tar.bz2 initscripts-d624aba089bd95acfe8f02bebb01c34a4f242216.tar.xz initscripts-d624aba089bd95acfe8f02bebb01c34a4f242216.zip |
Add tmpfiles.d support (#656602, <plautrba@redhat.com>)
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | initscripts.spec | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -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) |