From e94a30c84e906f7c3467f999413d751fa62b971d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 2 Jun 2015 09:50:50 +0200 Subject: [PATCH] kmod: create a sbin/modprobe symlink for now until the usr/bin move is complete. --- srcpkgs/kmod/INSTALL | 7 +++++++ srcpkgs/kmod/template | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/kmod/INSTALL diff --git a/srcpkgs/kmod/INSTALL b/srcpkgs/kmod/INSTALL new file mode 100644 index 0000000000..26e326ef61 --- /dev/null +++ b/srcpkgs/kmod/INSTALL @@ -0,0 +1,7 @@ +case "$ACTION" in +post) + if [ -d usr/sbin -a ! -L /usr/sbin ]; then + ln -sf ../bin/kmod usr/sbin/modprobe + fi + ;; +esac diff --git a/srcpkgs/kmod/template b/srcpkgs/kmod/template index d432ef8803..9cbd6a18a0 100644 --- a/srcpkgs/kmod/template +++ b/srcpkgs/kmod/template @@ -1,7 +1,7 @@ # Template file for 'kmod' pkgname=kmod version=20 -revision=2 +revision=3 build_style=gnu-configure configure_args="--with-zlib --with-xz" hostmakedepends="pkg-config"