summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-11-15 15:25:20 +0100
committerDave Reisner <dreisner@archlinux.org>2012-01-05 21:14:25 +0100
commit03deaed9f3f5b0c0537eb65e8f1862f53bc21fec (patch)
treea7ae64df327b4f1351ede76d0efd6e9a9bdf7053 /Makefile
parentbd4f7d6ee8f8527625b9f240a7e5b68b2d1f87bb (diff)
downloadmkinitcpio-03deaed9f3f5b0c0537eb65e8f1862f53bc21fec.tar.gz
mkinitcpio-03deaed9f3f5b0c0537eb65e8f1862f53bc21fec.tar.xz
shutdown: add new hook0.8.1
This adds functionality to pivot to back to the initramfs on shutdown, thereby allowing the system to unmount the real root device. This will be necessary for anyone with /usr as a separate partition.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3e7966d..e1fe5aa 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ install: all
chmod 755 ${DESTDIR}/usr/bin/lsinitcpio ${DESTDIR}/usr/bin/mkinitcpio
install -m644 mkinitcpio.conf ${DESTDIR}/etc/mkinitcpio.conf
- install -m755 -t ${DESTDIR}/lib/initcpio init
+ install -m755 -t ${DESTDIR}/lib/initcpio init shutdown
install -m644 -t ${DESTDIR}/lib/initcpio init_functions functions
install -m644 01-memdisk.rules ${DESTDIR}/lib/initcpio/udev/01-memdisk.rules