summaryrefslogtreecommitdiffstats
path: root/install/base
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-11-06 01:05:16 +0100
committerDave Reisner <dreisner@archlinux.org>2011-11-15 01:11:09 +0100
commitc06a144a66ec24b9e2b4fd52c9abd655f352f685 (patch)
tree4fbf2dc8a3c9b71118a22c3c41faa7f521c84638 /install/base
parent0d46d5cdd93ad1086ceb023876d3d071f3148db7 (diff)
downloadmkinitcpio-c06a144a66ec24b9e2b4fd52c9abd655f352f685.tar.gz
mkinitcpio-c06a144a66ec24b9e2b4fd52c9abd655f352f685.tar.xz
init: use util-linux's /bin/mount
Providing this means we no longer need blkid for FS detection, as mount will do this for us. Adds a slight bloat to the image, in exchange for a huge convenience. Messaging is changed to assume that /bin/mount will provide useful feedback for us on failure. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install/base')
-rw-r--r--install/base3
1 files changed, 3 insertions, 0 deletions
diff --git a/install/base b/install/base
index 1f2b3b8..3d18fe0 100644
--- a/install/base
+++ b/install/base
@@ -8,6 +8,9 @@ build() {
add_binary /lib/initcpio/busybox /bin/busybox
add_binary /sbin/modprobe
add_binary /sbin/blkid
+ add_binary /bin/mount
+
+ add_symlink "/etc/mtab" "/proc/self/mounts"
add_file "/lib/initcpio/init_functions" "/init_functions"
add_file "/lib/initcpio/init" "/init"