[arch-commits] Commit in usbview/trunk (PKGBUILD usbview.install)

Giovanni Scafora giovanni at archlinux.org
Tue Oct 23 11:13:14 UTC 2012


    Date: Tuesday, October 23, 2012 @ 07:13:14
  Author: giovanni
Revision: 169542

upgpkg: usbview 2.0-2

Added a hint to mount debugfs

Modified:
  usbview/trunk/PKGBUILD
  usbview/trunk/usbview.install

-----------------+
 PKGBUILD        |    2 +-
 usbview.install |    7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-10-23 11:12:04 UTC (rev 169541)
+++ PKGBUILD	2012-10-23 11:13:14 UTC (rev 169542)
@@ -4,7 +4,7 @@
 
 pkgname=usbview
 pkgver=2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Display the topology of devices on the USB bus"
 arch=('i686' 'x86_64')
 url="http://www.kroah.com/linux/usb/"

Modified: usbview.install
===================================================================
--- usbview.install	2012-10-23 11:12:04 UTC (rev 169541)
+++ usbview.install	2012-10-23 11:13:14 UTC (rev 169542)
@@ -1,5 +1,10 @@
 post_install() {
   update-desktop-database -q
+  echo ">>> Debugfs must be mounted in order to use usbview."
+  echo ">>> As root execute:"
+  echo ">>> \"mount -t debugfs none /sys/kernel/debug\" or add"
+  echo ">>> \"none /sys/kernel/debug debugfs defaults 0 0\""
+  echo ">>> to /etc/fstab"
 }
 
 post_upgrade() {
@@ -7,5 +12,5 @@
 }
 
 post_remove() {
-  post_install
+  update-desktop-database -q
 }




More information about the arch-commits mailing list