summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-01-15 06:42:37 +0100
committerDave Reisner <dreisner@archlinux.org>2012-01-28 21:38:50 +0100
commitfddc57e94476ea8a1b994422b6ff237a55d1eb4b (patch)
tree230689656703a620654e2d2acc1094256e35b8b6
parentc095f414f653fa7d11da3fd478218d73101015a7 (diff)
downloadmkinitcpio-fddc57e94476ea8a1b994422b6ff237a55d1eb4b.tar.gz
mkinitcpio-fddc57e94476ea8a1b994422b6ff237a55d1eb4b.tar.xz
install/base: drop support for m-i-t
Install kmod in /usr/bin and provide symlinks for all the applets to the kmod multi-call. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--PKGBUILD2
-rw-r--r--install/base7
2 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8cb8b2f..2a5968b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ license=('GPL')
groups=('base')
conflicts=('mkinitcpio')
provides=("mkinitcpio=$pkgver")
-depends=('mkinitcpio-busybox>=1.16.1-2' 'module-init-tools' 'util-linux>=2.20.1-2' 'libarchive' 'coreutils'
+depends=('mkinitcpio-busybox>=1.16.1-2' 'kmod' 'util-linux>=2.20.1-2' 'libarchive' 'coreutils'
'bash' 'findutils' 'sed' 'grep' 'filesystem>=2011.10-1' 'udev>=177-1' 'file' 'gzip')
makedepends=('asciidoc' 'git')
optdepends=('xz: Use lzma or xz compression for the initramfs image'
diff --git a/install/base b/install/base
index 4df02e5..3faf368 100644
--- a/install/base
+++ b/install/base
@@ -15,7 +15,12 @@ build() {
add_symlink "/usr/bin/$applet" busybox
done
- add_binary /sbin/modprobe
+ # add kmod with applet symlinks
+ add_binary kmod
+ for applet in {dep,ins,rm,ls}mod mod{probe,info}; do
+ add_symlink "/usr/bin/$applet" kmod
+ done
+
add_binary /sbin/blkid
add_binary /bin/mount
add_binary /sbin/switch_root