Hello community, here is the log from the commit of package pm-utils checked in at Fri Nov 28 15:54:06 CET 2008. -------- --- pm-utils/pm-utils.changes 2008-11-12 20:05:06.000000000 +0100 +++ pm-utils/pm-utils.changes 2008-11-27 16:51:40.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Nov 27 16:26:12 CET 2008 - seife@suse.de + +- remove 55battery hook - not needed since HAL 0.5.8 +- add sub-second timestamps to the log file for hook profiling + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pm-utils.spec ++++++ --- /var/tmp/diff_new_pack.h11051/_old 2008-11-28 15:48:38.000000000 +0100 +++ /var/tmp/diff_new_pack.h11051/_new 2008-11-28 15:48:38.000000000 +0100 @@ -21,7 +21,7 @@ Name: pm-utils Url: http://webcvs.freedesktop.org/pm-utils/ Version: 0.99.4.20071229 -Release: 9 +Release: 10 %define pm_utils_suse_version 20081107 Summary: Tools to suspend and hibernate computers License: GPL v2 or later @@ -75,7 +75,7 @@ %install make install DESTDIR=$RPM_BUILD_ROOT mkdir -p examples/hooks -for i in 01grub 20video 49bluetooth 60sysfont 65alsa 90clock 99video; do +for i in 01grub 20video 49bluetooth 55battery 60sysfont 65alsa 90clock 99video; do mv $RPM_BUILD_ROOT/usr/lib/pm-utils/sleep.d/$i examples/hooks done cp %{S:2} hooks @@ -108,6 +108,9 @@ %ghost %verify(not md5 size mtime) /var/log/pm-suspend.log %changelog +* Thu Nov 27 2008 seife@suse.de +- remove 55battery hook - not needed since HAL 0.5.8 +- add sub-second timestamps to the log file for hook profiling * Wed Nov 12 2008 seife@suse.de - log the start of suspend operations also to syslog, with a reference to the pm-suspend.log file ++++++ pm-utils-0.99.4-suse.diff ++++++ --- /var/tmp/diff_new_pack.h11051/_old 2008-11-28 15:48:39.000000000 +0100 +++ /var/tmp/diff_new_pack.h11051/_new 2008-11-28 15:48:39.000000000 +0100 @@ -70,7 +70,7 @@ find_sleepd_files() { -@@ -79,11 +97,11 @@ run_hooks() +@@ -79,32 +97,32 @@ run_hooks() { # $1=suspend/suspend_hybrid/hibernate $2=suspend/hibernate/thaw/resume $3=reverse/"" [ -z "$1" ] && return 0 @@ -79,10 +79,35 @@ - rm -f /var/run/pm-suspend +# rm -f /var/run/pm-suspend - echo "$(date): running '$1'/'$2'/'$3' hooks." +- echo "$(date): running '$1'/'$2'/'$3' hooks." ++ echo "$(date '+%F %T.%N %z'): running '$1'/'$2'/'$3' hooks." files=$(find_sleepd_files) if [ "$3" = "reverse" ]; then + filea=($files) + filen=${#filea[*]} + while [ "$filen" -gt 0 ]; do + let filen-- + file="${filea[$filen]}" +- echo "===== $(date): running hook: $file =====" ++ echo "===== $(date '+%F %T.%N') running hook: $file =====" + $file $2 $1 + done + else + for file in $files ; do +- echo "===== $(date): running hook: $file =====" ++ echo "===== $(date '+%F %T.%N') running hook: $file =====" + $file $2 $1 + done + fi + +- echo "$(date): done running $1/$2 hooks." ++ echo "$(date '+%F %T.%N'): done running $1/$2 hooks." + } + + get_power_status() + { + RETVAL=0 Index: b/pm/hooks/00clear =================================================================== --- a/pm/hooks/00clear ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org