commit laptop-mode-tools for openSUSE:Factory
Hello community, here is the log from the commit of package laptop-mode-tools for openSUSE:Factory checked in at Tue Oct 6 05:10:28 CEST 2009. -------- --- laptop-mode-tools/laptop-mode-tools.changes 2009-06-26 17:21:11.000000000 +0200 +++ laptop-mode-tools/laptop-mode-tools.changes 2009-10-05 11:02:13.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Oct 5 11:00:43 CEST 2009 - seife@opensuse.org + +- fix/workaround laptop-mode-tools causing garbage in the pm-utils + suspend / hibernate logfile + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- laptop-mode-1.49-fix-pm-utils-sleep-script.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ laptop-mode-tools.spec ++++++ --- /var/tmp/diff_new_pack.0sCsaM/_old 2009-10-06 05:09:38.000000000 +0200 +++ /var/tmp/diff_new_pack.0sCsaM/_new 2009-10-06 05:09:38.000000000 +0200 @@ -19,7 +19,7 @@ Name: laptop-mode-tools Version: 1.49 -Release: 1 +Release: 2 License: GPL v2 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/Base @@ -34,6 +34,7 @@ Patch3: laptop-mode-1.49_conf.diff Patch4: laptop-mode-1.49-initscript.diff Patch5: laptop-mode-1.49-new-dirty-ratio-defaults.diff +Patch6: laptop-mode-1.49-fix-pm-utils-sleep-script.diff BuildArch: noarch BuildRequires: pm-utils @@ -58,6 +59,7 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 cp %{S:2} . %build ++++++ laptop-mode-1.49-fix-pm-utils-sleep-script.diff ++++++ Index: b/etc/pm/sleep.d/99laptop-mode =================================================================== --- a/etc/pm/sleep.d/99laptop-mode +++ b/etc/pm/sleep.d/99laptop-mode @@ -8,11 +8,12 @@ case "$1" in ;; thaw|resume) # Make laptop mode tools forcibly re-apply the hardware settings # that laptop mode tools applies. if [ -e /usr/sbin/laptop_mode ] ; then - /usr/sbin/laptop_mode auto force + # the "cat" is because laptop_mode seems to truncate the output file :( + /usr/sbin/laptop_mode auto force | cat fi ;; *) exit $NA ;; esac ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de