summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-01-12 23:50:24 +0100
committerDave Reisner <dreisner@archlinux.org>2012-01-13 00:07:26 +0100
commit60780cbbf2cf06514ae4cfe25fe337e6762b8ede (patch)
tree10871a2605092bd3d1f1fc212d2259f059a9e85b
parent928634aa9ed736d7b2a85da5f8b8123385d552db (diff)
downloadmkinitcpio-60780cbbf2cf06514ae4cfe25fe337e6762b8ede.tar.gz
mkinitcpio-60780cbbf2cf06514ae4cfe25fe337e6762b8ede.tar.xz
base: add findmnt as a part of the base layout
This is required for mounting a separate /usr. While the shutdown hook is essentially a soft requirement for a separate /usr, we shouldn't break init. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--install/base1
-rw-r--r--install/shutdown2
2 files changed, 2 insertions, 1 deletions
diff --git a/install/base b/install/base
index 3366c38..4df02e5 100644
--- a/install/base
+++ b/install/base
@@ -19,6 +19,7 @@ build() {
add_binary /sbin/blkid
add_binary /bin/mount
add_binary /sbin/switch_root
+ add_binary /bin/findmnt
add_symlink "/etc/mtab" "/proc/self/mounts"
diff --git a/install/shutdown b/install/shutdown
index 2c533b6..7c6b7bc 100644
--- a/install/shutdown
+++ b/install/shutdown
@@ -1,7 +1,7 @@
#!/bin/bash
build() {
- BINARIES='cp findmnt'
+ BINARIES='cp'
SCRIPT='shutdown'
add_file "/lib/initcpio/shutdown" "/shutdown"