[Pkg-utopia-commits] r806 - in packages/unstable/hal/debian: .
patches
Sjoerd Simons
sjoerd at costa.debian.org
Mon May 1 20:24:29 UTC 2006
Author: sjoerd
Date: 2006-05-01 20:24:28 +0000 (Mon, 01 May 2006)
New Revision: 806
Added:
packages/unstable/hal/debian/patches/07_suspend2.patch
Modified:
packages/unstable/hal/debian/changelog
Log:
* Don't install hal's default udev rules file, we ship our own
* debian/patches/07_suspend2.patch
+ Added. Possibility to use hibernate to suspend-to-ram
Modified: packages/unstable/hal/debian/changelog
===================================================================
--- packages/unstable/hal/debian/changelog 2006-05-01 19:30:35 UTC (rev 805)
+++ packages/unstable/hal/debian/changelog 2006-05-01 20:24:28 UTC (rev 806)
@@ -4,10 +4,12 @@
+ Fix broken udev syntax (Closes: #364324)
* Bump compat version to 5
* Killing hal with brute force in prerm shouldn't be needed anymore
- * Don't install hal's default udev rules file, we ship our own
+ * Don't install hal's default udev rules file, we ship our own
(Closes: 359749)
+ * debian/patches/07_suspend2.patch
+ + Added. Possibility to use hibernate to suspend-to-ram
- -- Sjoerd Simons <sjoerd at debian.org> Mon, 1 May 2006 21:21:35 +0200
+ -- Sjoerd Simons <sjoerd at debian.org> Mon, 1 May 2006 22:23:48 +0200
hal (0.5.7-1) unstable; urgency=low
Added: packages/unstable/hal/debian/patches/07_suspend2.patch
===================================================================
--- packages/unstable/hal/debian/patches/07_suspend2.patch 2006-05-01 19:30:35 UTC (rev 805)
+++ packages/unstable/hal/debian/patches/07_suspend2.patch 2006-05-01 20:24:28 UTC (rev 806)
@@ -0,0 +1,14 @@
+diff -ruN hal-0.5.7-old/tools/hal-system-power-suspend hal-0.5.7/tools/hal-system-power-suspend
+--- hal-0.5.7-old/tools/hal-system-power-suspend 2006-05-01 22:22:24.000000000 +0200
++++ hal-0.5.7/tools/hal-system-power-suspend 2006-05-01 22:23:30.000000000 +0200
+@@ -50,6 +50,10 @@
+ if [ -x "/usr/bin/powersave" ] ; then
+ $POWERSAVED_SUSPEND2RAM
+ RET=$?
++ elif [ -x "/usr/sbin/hibernate" ] ; then
++ # Use hibernate configured for suspend-to-ram
++ /usr/sbin/hibernate -F/etc/hibernate/ram.conf
++ RET=$?
+ elif [ -x "/usr/sbin/pmi" ] ; then
+ /usr/sbin/pmi action suspend force
+ RET=$?
More information about the Pkg-utopia-commits
mailing list