diff options
author | Thomas Bächler <thomas@archlinux.org> | 2013-12-15 15:06:59 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2013-12-15 15:09:42 +0100 |
commit | dcd45ba1b54ea0a386442fa17cd1eb4d7396b04a (patch) | |
tree | 153d984f9b1a4ebc1af7299c4dd0ff5ef3f98888 | |
parent | fe786a6b8d6cb82d972fd47b0033d5f42e00acdd (diff) | |
download | mkinitcpio-dcd45ba1b54ea0a386442fa17cd1eb4d7396b04a.tar.gz mkinitcpio-dcd45ba1b54ea0a386442fa17cd1eb4d7396b04a.tar.xz |
Add a tmpfiles.d configuration file to create /run/initramfs.
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | tmpfiles/mkinitcpio.conf | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -17,7 +17,8 @@ DIRS = \ /usr/share/man/man5 \ /usr/share/man/man1 \ /usr/share/mkinitcpio \ - /usr/lib/systemd/system + /usr/lib/systemd/system \ + /usr/lib/tmpfiles.d all: doc @@ -53,6 +54,7 @@ install: all install -m644 -t $(DESTDIR)/usr/share/mkinitcpio mkinitcpio.d/* install -m644 systemd/mkinitcpio-generate-shutdown-ramfs.service \ $(DESTDIR)/usr/lib/systemd/system/mkinitcpio-generate-shutdown-ramfs.service + install -m644 tmpfiles/mkinitcpio.conf $(DESTDIR)/usr/lib/tmpfiles.d/mkinitcpio.conf install -m755 50-mkinitcpio.install $(DESTDIR)/usr/lib/kernel/install.d/50-mkinitcpio.install diff --git a/tmpfiles/mkinitcpio.conf b/tmpfiles/mkinitcpio.conf new file mode 100644 index 0000000..4d8cdd7 --- /dev/null +++ b/tmpfiles/mkinitcpio.conf @@ -0,0 +1,3 @@ +# Create /run/initramfs for shutdown + +d /run/initramfs 0755 root root |