[arch-commits] Commit in hwdetect/trunk (PKGBUILD hwdetect)

Tobias Powalowski tpowa at archlinux.org
Sat Jul 25 08:25:13 UTC 2009


    Date: Saturday, July 25, 2009 @ 04:25:12
  Author: tpowa
Revision: 47685

upgpkg: hwdetect 2009.07-2

Modified:
  hwdetect/trunk/PKGBUILD
  hwdetect/trunk/hwdetect

----------+
 PKGBUILD |    4 ++--
 hwdetect |    7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-07-25 06:40:29 UTC (rev 47684)
+++ PKGBUILD	2009-07-25 08:25:12 UTC (rev 47685)
@@ -2,7 +2,7 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 pkgname=hwdetect
 pkgver=2009.07
-pkgrel=1
+pkgrel=2
 pkgdesc="Hardware detection script with loading modules and mkinitcpio.conf / rc.conf support"
 arch=(i686 x86_64)
 license=('GPL')
@@ -16,4 +16,4 @@
 build() {
   install -D -m 755 $startdir/src/hwdetect $startdir/pkg/sbin/hwdetect
 }
-md5sums=('ec67ed9eb60499959d38297e00e3d8fa')
+md5sums=('f8a30a2a422cfda4c230bca19bea811f')

Modified: hwdetect
===================================================================
--- hwdetect	2009-07-25 06:40:29 UTC (rev 47684)
+++ hwdetect	2009-07-25 08:25:12 UTC (rev 47685)
@@ -38,6 +38,7 @@
         echo "" 
 	echo "    --rootdevice=          autodetected advanced features of rootdevice"
 	echo "    --hooks-dir=           use this directory for HOOKS check"
+	echo "    --advanced             show autodetected advanced HOOKS"
 	echo "    --hooks                show HOOKS="
 	echo "    --dmraid               add dmraid to HOOKS="
 	echo "    --keymap               add keymap to HOOKS="
@@ -513,6 +514,12 @@
 			fi
 			echo "HOOKS=\"$START_HOOKS\"" | sed -e 's/"\ /"/g' -e 's/\ "/"/g' -e 's/\ \ /\ /g'
 		;;
+		--advanced) ADVANCED_ARCHBOOT=""
+			    for i in $ADVANCED; do
+				ADVANCED_ARCHBOOT="$ADVANCED_ARCHBOOT $(echo arch_$i)"
+			    done
+			    echo "$ADVANCED_ARCHBOOT"
+			    ;;
 	esac
 	shift
 done




More information about the arch-commits mailing list