summaryrefslogtreecommitdiffstats
path: root/install/base
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-01-22 01:44:09 +0100
committerDave Reisner <dreisner@archlinux.org>2012-01-28 21:38:50 +0100
commit828c5f7c54c1205feb2c9928646dec24a790d734 (patch)
tree310f35b45bf8cb255e6647a0f9f5d0c4aa07c712 /install/base
parent15988f0f8b8232b010179dc834ca4dd851a14f00 (diff)
downloadmkinitcpio-828c5f7c54c1205feb2c9928646dec24a790d734.tar.gz
mkinitcpio-828c5f7c54c1205feb2c9928646dec24a790d734.tar.xz
avoid absolute paths in add_binary calls
This makes us more resilient against path changes -- add_binary is smart enough to resolve the path for us. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install/base')
-rw-r--r--install/base8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/base b/install/base
index 3faf368..3b7632f 100644
--- a/install/base
+++ b/install/base
@@ -21,10 +21,10 @@ build() {
add_symlink "/usr/bin/$applet" kmod
done
- add_binary /sbin/blkid
- add_binary /bin/mount
- add_binary /sbin/switch_root
- add_binary /bin/findmnt
+ add_binary blkid
+ add_binary mount
+ add_binary switch_root
+ add_binary findmnt
add_symlink "/etc/mtab" "/proc/self/mounts"