[arch-commits] Commit in module-init-tools/trunk (PKGBUILD modprobe.conf)

Allan McRae allan at archlinux.org
Sun Jun 7 05:14:40 EDT 2009


    Date: Sunday, June 7, 2009 @ 05:14:39
  Author: allan
Revision: 41752

upgpkg: module-init-tools 3.8-1
    upstream update, move etc/modprobe.conf to etc/modprobe.d/modprobe.conf as now required upstream

Modified:
  module-init-tools/trunk/PKGBUILD
  module-init-tools/trunk/modprobe.conf

---------------+
 PKGBUILD      |   17 +++++++++--------
 modprobe.conf |    2 +-
 2 files changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-07 05:52:36 UTC (rev 41751)
+++ PKGBUILD	2009-06-07 09:14:39 UTC (rev 41752)
@@ -3,29 +3,30 @@
 # Contributor: judd <jvinet at zeroflux.org>
 
 pkgname=module-init-tools
-pkgver=3.5
+pkgver=3.8
 pkgrel=1
 pkgdesc="utilities needed by Linux systems for managing loadable kernel modules"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://kerneltools.org"
 license=('GPL')
 groups=('base')
 depends=('glibc')
-backup=('etc/modprobe.conf')
+backup=('etc/modprobe.d/modprobe.conf')
 source=(http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2
         modprobe.conf)
-md5sums=('2b47686247fc9a99bfdb9dd1d1d80e6f'
-         '6db59d41e04941a790f80c1a4432faef')
+md5sums=('470d7830fd263d29a92149da6ae9f122'
+         '316f1bda4c21af02b30252eb014a0a55')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$pkgver
 
   ./configure --prefix=/usr --exec-prefix=/
   make || return 1
-  make DESTDIR=$startdir/pkg install || return 1
+  make DESTDIR=$pkgdir install || return 1
 
   # Remove old-school conversion util... we haven't shipped modules.conf in years
   rm $pkgdir/sbin/generate-modprobe.conf
+  
   # Install our custom (read: empty) modprobe.conf
-  install -D -m644 ../modprobe.conf $startdir/pkg/etc/modprobe.conf
+  install -Dm644 $srcdir/modprobe.conf $pkgdir/etc/modprobe.d/modprobe.conf
 }

Modified: modprobe.conf
===================================================================
--- modprobe.conf	2009-06-07 05:52:36 UTC (rev 41751)
+++ modprobe.conf	2009-06-07 09:14:39 UTC (rev 41752)
@@ -1,3 +1,3 @@
 #
-# /etc/modprobe.conf (for v2.6 kernels)
+# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
 #



More information about the arch-commits mailing list