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

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Thu Nov 19 01:24:17 UTC 2009


Author: biebl
Date: Thu Nov 19 01:24:16 2009
New Revision: 3261

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3261
Log:
Ensure the system groups powerdev and plugdev are created as they are used in the D-Bus policy file.

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=3261&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Thu Nov 19 01:24:16 2009
@@ -17,6 +17,8 @@
     - Stop installing hal-is-caller-privileged.1 man page.
   * debian/hal.postinst
     - Remove polkit-auth call.
+    - Ensure the system groups powerdev and plugdev are created as they are
+      used in the D-Bus policy file.
   * debian/patches/10-no-polkit-policy-file-validate-check.patch
     - Drop this patch, obsolete.
   * debian/patches/01_at_console.patch

Modified: packages/unstable/hal/debian/hal.postinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/hal.postinst?rev=3261&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.postinst (original)
+++ packages/unstable/hal/debian/hal.postinst Thu Nov 19 01:24:16 2009
@@ -33,6 +33,9 @@
             --gecos "Hardware abstraction layer" \
             --group haldaemon
 
+    addgroup --system --quiet plugdev || true
+    addgroup --system --quiet powerdev || true
+
     # Remove old stop symlinks on upgrades
     if dpkg --compare-versions "$2" lt-nl "0.5.11-6"; then
       rm -f /etc/rc[06].d/K??hal




More information about the Pkg-utopia-commits mailing list