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> --- PKGBUILD | 2 +- install/base | 7 ++++++- 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 -- 1.7.8.4