[pacman-dev] [mkinitcpio][PATCH 3/5] base: add findmnt as a part of the base layout

Dave Reisner d at falconindy.com
Thu Jan 12 18:12:05 EST 2012


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 at archlinux.org>
---
 install/base     |    1 +
 install/shutdown |    2 +-
 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"
-- 
1.7.8.3



More information about the pacman-dev mailing list