summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/module-init-tools/.footprint1
-rw-r--r--base/module-init-tools/.md5sum3
-rwxr-xr-xbase/module-init-tools/Pkgfile16
-rw-r--r--base/module-init-tools/usb.conf6
4 files changed, 18 insertions, 8 deletions
diff --git a/base/module-init-tools/.footprint b/base/module-init-tools/.footprint
index 7b1b094ae..6ba4b9a45 100644
--- a/base/module-init-tools/.footprint
+++ b/base/module-init-tools/.footprint
@@ -5,6 +5,7 @@ drwxr-xr-x root/root etc/depmod.d/
drwxr-xr-x root/root etc/modprobe.d/
-rw-r--r-- root/root etc/modprobe.d/blacklist-fb.conf
-rw-r--r-- root/root etc/modprobe.d/modprobe.conf
+-rw-r--r-- root/root etc/modprobe.d/usb.conf
drwxr-xr-x root/root sbin/
-rwxr-xr-x root/root sbin/depmod
-rwxr-xr-x root/root sbin/insmod
diff --git a/base/module-init-tools/.md5sum b/base/module-init-tools/.md5sum
index 2282ff491..f928a5847 100644
--- a/base/module-init-tools/.md5sum
+++ b/base/module-init-tools/.md5sum
@@ -1,3 +1,4 @@
7eac77556a1edc257b128e257f9aae57 blacklist-fb.conf
9b4b6f3a50e9d352bba107488c053cd2 modprobe.conf
-28dfcb9e24cdbeb12b99ac1eb8af7dea module-init-tools-3.11.1.tar.bz2
+8b2257ce9abef74c4a44d825d23140f3 module-init-tools-3.12.tar.bz2
+2249d7af8f86efc097c30b788667a4bd usb.conf
diff --git a/base/module-init-tools/Pkgfile b/base/module-init-tools/Pkgfile
index 869c5b313..1bbc4adaa 100755
--- a/base/module-init-tools/Pkgfile
+++ b/base/module-init-tools/Pkgfile
@@ -2,21 +2,21 @@
# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
name=module-init-tools
-version=3.11.1
-release=2
+version=3.12
+release=1
source=(http://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.bz2\
- modprobe.conf blacklist-fb.conf)
+ modprobe.conf blacklist-fb.conf usb.conf)
build() {
cd $name-$version
+echo '.so man5/modprobe.conf.5' > modprobe.d.5
./configure
make check
make clean
-./configure --prefix=/ --enable-zlib \
+./configure --prefix=/ --enable-zlib-dynamic \
--mandir=/usr/share/man
make
@@ -24,6 +24,8 @@ install -d $PKG/usr/share/man
install -d $PKG/etc/{modprobe.d,depmod.d}
make DESTDIR=$PKG mandir=/usr/share/man install
rm -f $PKG/sbin/generate-modprobe.conf
-install -m 644 ../modprobe.conf $PKG/etc/modprobe.d/modprobe.conf
-install -m 644 ../blacklist-fb.conf $PKG/etc/modprobe.d/
+for i in modprobe.conf blacklist-fb.conf usb.conf
+do
+ install -m 644 ../$i $PKG/etc/modprobe.d/$i
+done
}
diff --git a/base/module-init-tools/usb.conf b/base/module-init-tools/usb.conf
new file mode 100644
index 000000000..0d597e12a
--- /dev/null
+++ b/base/module-init-tools/usb.conf
@@ -0,0 +1,6 @@
+# Begin /etc/modprobe.d/usb.conf
+
+install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true
+install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true
+
+# End /etc/modprobe.d/usb.conf