diff options
Diffstat (limited to 'kmod')
-rw-r--r-- | kmod/.footprint.i686 | 43 | ||||
-rw-r--r-- | kmod/.footprint.x86_64 | 43 | ||||
-rw-r--r-- | kmod/.md5sum.i686 | 5 | ||||
-rw-r--r-- | kmod/.md5sum.x86_64 | 5 | ||||
-rwxr-xr-x | kmod/Pkgfile | 39 | ||||
-rw-r--r-- | kmod/blacklist-fb.conf | 39 | ||||
-rw-r--r-- | kmod/depmod-search.conf | 5 | ||||
-rw-r--r-- | kmod/nouveau.conf | 1 | ||||
-rw-r--r-- | kmod/usb.conf | 6 |
9 files changed, 186 insertions, 0 deletions
diff --git a/kmod/.footprint.i686 b/kmod/.footprint.i686 new file mode 100644 index 000000000..22cc0ede9 --- /dev/null +++ b/kmod/.footprint.i686 @@ -0,0 +1,43 @@ +drwxr-xr-x root/root bin/ +lrwxrwxrwx root/root bin/lsmod -> /usr/bin/kmod +drwxr-xr-x root/root etc/ +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/nouveau.conf +-rw-r--r-- root/root etc/modprobe.d/usb.conf +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root lib/depmod.d/ +-rw-r--r-- root/root lib/depmod.d/search.conf +drwxr-xr-x root/root lib/modprobe.d/ +drwxr-xr-x root/root sbin/ +lrwxrwxrwx root/root sbin/depmod -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/insmod -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/modinfo -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/modprobe -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/rmmod -> ../usr/bin/kmod +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/kmod +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/libkmod.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libkmod.la +lrwxrwxrwx root/root usr/lib/libkmod.so -> libkmod.so.1.3.0 +lrwxrwxrwx root/root usr/lib/libkmod.so.1 -> libkmod.so.1.3.0 +-rwxr-xr-x root/root usr/lib/libkmod.so.1.3.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libkmod.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/depmod.d.5.gz +-rw-r--r-- root/root usr/share/man/man5/modprobe.d.5.gz +-rw-r--r-- root/root usr/share/man/man5/modules.dep.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/depmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/insmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/lsmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/modinfo.8.gz +-rw-r--r-- root/root usr/share/man/man8/modprobe.8.gz +-rw-r--r-- root/root usr/share/man/man8/rmmod.8.gz diff --git a/kmod/.footprint.x86_64 b/kmod/.footprint.x86_64 new file mode 100644 index 000000000..22cc0ede9 --- /dev/null +++ b/kmod/.footprint.x86_64 @@ -0,0 +1,43 @@ +drwxr-xr-x root/root bin/ +lrwxrwxrwx root/root bin/lsmod -> /usr/bin/kmod +drwxr-xr-x root/root etc/ +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/nouveau.conf +-rw-r--r-- root/root etc/modprobe.d/usb.conf +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root lib/depmod.d/ +-rw-r--r-- root/root lib/depmod.d/search.conf +drwxr-xr-x root/root lib/modprobe.d/ +drwxr-xr-x root/root sbin/ +lrwxrwxrwx root/root sbin/depmod -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/insmod -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/modinfo -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/modprobe -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/rmmod -> ../usr/bin/kmod +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/kmod +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/libkmod.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libkmod.la +lrwxrwxrwx root/root usr/lib/libkmod.so -> libkmod.so.1.3.0 +lrwxrwxrwx root/root usr/lib/libkmod.so.1 -> libkmod.so.1.3.0 +-rwxr-xr-x root/root usr/lib/libkmod.so.1.3.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libkmod.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/depmod.d.5.gz +-rw-r--r-- root/root usr/share/man/man5/modprobe.d.5.gz +-rw-r--r-- root/root usr/share/man/man5/modules.dep.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/depmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/insmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/lsmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/modinfo.8.gz +-rw-r--r-- root/root usr/share/man/man8/modprobe.8.gz +-rw-r--r-- root/root usr/share/man/man8/rmmod.8.gz diff --git a/kmod/.md5sum.i686 b/kmod/.md5sum.i686 new file mode 100644 index 000000000..850ad60d1 --- /dev/null +++ b/kmod/.md5sum.i686 @@ -0,0 +1,5 @@ +7eac77556a1edc257b128e257f9aae57 blacklist-fb.conf +4b8cbcbc54b9029c99fd730e257d4436 depmod-search.conf +e14450a066a48accd0af1995b3c0232d kmod-4.tar.xz +cddff2da6f6e96b8a48943c8ce62a238 nouveau.conf +2249d7af8f86efc097c30b788667a4bd usb.conf diff --git a/kmod/.md5sum.x86_64 b/kmod/.md5sum.x86_64 new file mode 100644 index 000000000..850ad60d1 --- /dev/null +++ b/kmod/.md5sum.x86_64 @@ -0,0 +1,5 @@ +7eac77556a1edc257b128e257f9aae57 blacklist-fb.conf +4b8cbcbc54b9029c99fd730e257d4436 depmod-search.conf +e14450a066a48accd0af1995b3c0232d kmod-4.tar.xz +cddff2da6f6e96b8a48943c8ce62a238 nouveau.conf +2249d7af8f86efc097c30b788667a4bd usb.conf diff --git a/kmod/Pkgfile b/kmod/Pkgfile new file mode 100755 index 000000000..cd788bed8 --- /dev/null +++ b/kmod/Pkgfile @@ -0,0 +1,39 @@ +# Description: Gestion des module du kernel Linux +# URL: http://git.profusion.mobi/cgit.cgi/kmod.git +# Maintainer: Lucas De Marchi +# Packager: piernov <piernov@piernov.org> + +name=kmod +version=4 +release=1 +source=(http://packages.profusion.mobi/$name/$name-$version.tar.xz + depmod-search.conf + nouveau.conf + blacklist-fb.conf + usb.conf) + +build() { + cd $name-$version + ./configure --sysconfdir=/etc \ + --with-rootprefix= \ + --with-zlib \ + --with-xz + make + make check + make DESTDIR=$PKG install + + install -dm755 $PKG/{,s}bin + install -dm755 $PKG/{etc,lib}/{depmod,modprobe}.d + + ln -s /usr/bin/kmod $PKG/bin/lsmod + for tool in {ins,rm,dep}mod mod{info,probe}; do + ln -s ../usr/bin/kmod $PKG/sbin/$tool + done + + install -Dm644 ../depmod-search.conf $PKG/lib/depmod.d/search.conf + + for i in blacklist-fb.conf usb.conf nouveau.conf + do + install -m 644 ../$i $PKG/etc/modprobe.d/$i + done +} diff --git a/kmod/blacklist-fb.conf b/kmod/blacklist-fb.conf new file mode 100644 index 000000000..4b0c0508e --- /dev/null +++ b/kmod/blacklist-fb.conf @@ -0,0 +1,39 @@ +# +# Listing a module here prevents the hotplug scripts from loading it. +# Usually that'd be so that some other driver will bind it instead, +# no matter which driver happens to get probed first. Sometimes user +# mode tools can also control driver binding. +# +# Syntax: driver name alone (without any spaces) on a line. Other +# lines are ignored. +# + +# watchdog drivers +blacklist i8xx_tco + +# framebuffer drivers +blacklist aty128fb +blacklist atyfb +blacklist radeondrmfb +blacklist radeon +blacklist radeonfb +blacklist i810fb +blacklist cirrusfb +blacklist intelfb +blacklist kyrofb +blacklist i2c-matroxfb +blacklist hgafb +blacklist nvidiafb +blacklist rivafb +blacklist savagefb +blacklist sstfb +blacklist neofb +blacklist tridentfb +blacklist tdfxfb +blacklist virgefb +blacklist vga16fb +blacklist matroxfb_base + +# ISDN - see bugs 154799, 159068 +blacklist hisax +blacklist hisax_fcpcipnp diff --git a/kmod/depmod-search.conf b/kmod/depmod-search.conf new file mode 100644 index 000000000..3feb67b05 --- /dev/null +++ b/kmod/depmod-search.conf @@ -0,0 +1,5 @@ +# +# /etc/depmod.d/depmod.conf +# + +search updates extramodules built-in diff --git a/kmod/nouveau.conf b/kmod/nouveau.conf new file mode 100644 index 000000000..31075c0dd --- /dev/null +++ b/kmod/nouveau.conf @@ -0,0 +1 @@ +blacklist nouveau diff --git a/kmod/usb.conf b/kmod/usb.conf new file mode 100644 index 000000000..0d597e12a --- /dev/null +++ b/kmod/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 |