[arch-commits] Commit in hwdetect/repos (3 files)

Tobias Powalowski tpowa at archlinux.org
Sun Feb 7 21:48:23 UTC 2010


    Date: Sunday, February 7, 2010 @ 16:48:22
  Author: tpowa
Revision: 67526

Merged revisions 67524 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/hwdetect/trunk

........
  r67524 | tpowa | 2010-02-07 21:43:37 +0000 (So, 07 Feb 2010) | 2 lines
  
  upgpkg: hwdetect 2010.02-1
      changed module loading
........

Modified:
  hwdetect/repos/extra-i686/	(properties)
  hwdetect/repos/extra-i686/PKGBUILD
  hwdetect/repos/extra-i686/hwdetect

----------+
 PKGBUILD |    4 ++--
 hwdetect |   34 +++++++++++++++++++---------------
 2 files changed, 21 insertions(+), 17 deletions(-)


Property changes on: hwdetect/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /hwdetect/trunk:1-60760
   + /hwdetect/trunk:1-67525

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2010-02-07 21:44:30 UTC (rev 67525)
+++ extra-i686/PKGBUILD	2010-02-07 21:48:22 UTC (rev 67526)
@@ -1,7 +1,7 @@
 # $Id$
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 pkgname=hwdetect
-pkgver=2009.12
+pkgver=2010.02
 pkgrel=1
 pkgdesc="Hardware detection script with loading modules and mkinitcpio.conf / rc.conf support"
 arch=(i686 x86_64)
@@ -16,4 +16,4 @@
 build() {
   install -D -m 755 $startdir/src/hwdetect $startdir/pkg/sbin/hwdetect
 }
-md5sums=('a1bcd8e9b47b7cbfbb3b936af75ab960')
+md5sums=('1c4dd29f64645dd7e464b71f1778ba8f')

Modified: extra-i686/hwdetect
===================================================================
--- extra-i686/hwdetect	2010-02-07 21:44:30 UTC (rev 67525)
+++ extra-i686/hwdetect	2010-02-07 21:48:22 UTC (rev 67526)
@@ -297,7 +297,7 @@
 grep -v "ide/" /tmp/modules-stripped | grep -v "scsi/" | grep -v "fusion/" | grep -v "block/sx8" | grep -v "message/fusion" | \
 	grep -v  "block/cciss" | grep -v "block/cpqarray" | grep -v "block/DAC960" | grep -v "ata/" | \
 	grep -v "net/" | grep -v "pcmcia/" | grep -v "usb/" | \
-	grep -v "ieee1394/" | grep -v "usbhid/" >> /tmp/modules-sorted
+	grep -v "firewire" | grep -v "ieee1394/" | grep -v "usbhid/" | grep -v "staging/" | grep -v "wireless/" >> /tmp/modules-sorted
 # make a correct order for the modules, internal devices have priority!
 # only use old ide modules if boot parameter 'ide-legacy' is given
 if [ "$IDE_LEGACY" = "1" ]; then
@@ -341,19 +341,19 @@
 #	BLACKLIST="$BLACKLIST $(basename $x .ko)"
 #done
 # delete modules that are blacklisted
-BLACKLIST="${BLACKLIST} $(echo ${disablemodules} | sed 's|-|_|g' | sed 's|,| |g')"
-for i in $BLACKLIST; do
-	[ "$i" ] || continue
-	sed -i -e "/^$i$/d" /tmp/moduleslist
-	# since '-' and '_' are interchangeable, we have to cover both
-	if [ "$(echo $i | grep '-')" ]; then
-		i="$(echo $i | sed 's|-|_|g')"
-		sed -i -e "/^$i$/d" /tmp/moduleslist
-	elif [ "$(echo $i | grep '_')" ]; then
-		i="$(echo $i | sed 's|_|-|g')"
-		sed -i -e "/^$i$/d" /tmp/moduleslist
-	fi
-done
+#BLACKLIST="${BLACKLIST} $(echo ${disablemodules} | sed 's|-|_|g' | sed 's|,| |g')"
+#for i in $BLACKLIST; do
+#	[ "$i" ] || continue
+#	sed -i -e "/^$i$/d" /tmp/moduleslist
+#	# since '-' and '_' are interchangeable, we have to cover both
+#	if [ "$(echo $i | grep '-')" ]; then
+#		i="$(echo $i | sed 's|-|_|g')"
+#		sed -i -e "/^$i$/d" /tmp/moduleslist
+#	elif [ "$(echo $i | grep '_')" ]; then
+#		i="$(echo $i | sed 's|_|-|g')"
+#		sed -i -e "/^$i$/d" /tmp/moduleslist
+#	fi
+#done
 
 listmods() {
 	key=$1 ; shift
@@ -402,7 +402,11 @@
 		--load-modules)
 			# load all detected pci modules
 			for i in $(cat /tmp/moduleslist); do
-				modprobe $i > /dev/null 2>&1
+				if [ -e /lib/udev/load-modules.sh ]; then 
+					/lib/udev/load-modules.sh $i > /dev/null 2>&1
+				else
+					modprobe $i > /dev/null 2>&1
+				fi
 			done
 			;;
 




More information about the arch-commits mailing list