[Pkg-utopia-commits] r2435 - in /packages/unstable/hal/debian: changelog hal.postinst triggers

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Sun Oct 5 15:55:45 UTC 2008


Author: biebl
Date: Sun Oct  5 15:55:45 2008
New Revision: 2435

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=2435
Log:
Add file trigger which re-generates the hal fdi cache. (Closes: #500916)

Added:
    packages/unstable/hal/debian/triggers
Modified:
    packages/unstable/hal/debian/changelog
    packages/unstable/hal/debian/hal.postinst

Modified: packages/unstable/hal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/changelog?rev=2435&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Sun Oct  5 15:55:45 2008
@@ -1,5 +1,6 @@
 hal (0.5.11-4) UNRELEASED; urgency=low
 
+  [ Loic Minier ]
   * New patches backported and adapated from upstream, fixing support of some
     wifi chips with 2.6.27 kernels; closes: #498132, #498478.
     - 60_use-wext-ioctl-instead-of-sysfs-to-detect-wireless, fixes detection
@@ -8,7 +9,10 @@
       symlink lookup to use the proper pathname.
     - WIP: should redo the patches in proper order, cough
 
- -- Loic Minier <lool at dooz.org>  Mon, 22 Sep 2008 22:54:46 +0200
+  [ Michael Biebl ]
+  * Add file trigger which re-generates the hal fdi cache. (Closes: #500916)
+
+ -- Michael Biebl <biebl at debian.org>  Sun, 05 Oct 2008 17:50:25 +0200
 
 hal (0.5.11-3) unstable; urgency=low
 

Modified: packages/unstable/hal/debian/hal.postinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/hal.postinst?rev=2435&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.postinst (original)
+++ packages/unstable/hal/debian/hal.postinst Sun Oct  5 15:55:45 2008
@@ -50,6 +50,12 @@
   ;;
   abort-upgrade|abort-remove|abort-deconfigure)
   ;;
+  triggered)
+    echo "Regenerating hal fdi cache ..."
+    rm -f /var/cache/hald/fdi-cache
+    invoke-rc.d hal restart || true
+    exit 0
+  ;;
   *)
     echo "postinst called with unknown argument \`$1'" >&2
     exit 1

Added: packages/unstable/hal/debian/triggers
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/triggers?rev=2435&op=file
==============================================================================
--- packages/unstable/hal/debian/triggers (added)
+++ packages/unstable/hal/debian/triggers Sun Oct  5 15:55:45 2008
@@ -1,0 +1,1 @@
+interest /usr/share/hal/fdi




More information about the Pkg-utopia-commits mailing list