Hello community, here is the log from the commit of package pm-utils for openSUSE:Factory checked in at 2012-10-23 19:44:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pm-utils (Old) and /work/SRC/openSUSE:Factory/.pm-utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pm-utils", Maintainer is "vdziewie...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/pm-utils/pm-utils.changes 2012-09-15 17:29:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pm-utils.new/pm-utils.changes 2012-10-23 19:44:54.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Oct 21 12:59:40 UTC 2012 - seife+...@b1-systems.com + +- be more verbose on modunload failures (inspired by bnc#633491) + +------------------------------------------------------------------- New: ---- pm-utils-dont-fail-modunload-silently.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pm-utils.spec ++++++ --- /var/tmp/diff_new_pack.nOp8Kq/_old 2012-10-23 19:45:00.000000000 +0200 +++ /var/tmp/diff_new_pack.nOp8Kq/_new 2012-10-23 19:45:00.000000000 +0200 @@ -32,6 +32,8 @@ # http://gitorious.org/opensuse/pm-utils-suse Source1: http://pm-utils.freedesktop.org/releases/pm-quirks-20100316.tar.bz2 Source2: rc.cpufreq +# Patch inspired by https://bugzilla.novell.com/show_bug.cgi?id=633491 +Patch1: pm-utils-dont-fail-modunload-silently.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %insserv_prereq @@ -64,6 +66,7 @@ %prep %setup -n %{name} -a 1 +%patch1 -p1 %build %{configure} \ ++++++ pm-utils-dont-fail-modunload-silently.diff ++++++ Author: Stefan Seyfried <seife+...@b1-systems.com> Date: 2012-10-21 Upstream: not yet. Don't fail modunload silently, the inhibit file should contain a reason *why* it was created. This would have helped finding the "fix" for https://bugzilla.novell.com/show_bug.cgi?id=633491 :-) diff --git a/pm/sleep.d/75modules b/pm/sleep.d/75modules index 6555466..c02da38 100755 --- a/pm/sleep.d/75modules +++ b/pm/sleep.d/75modules @@ -8,7 +8,7 @@ suspend_modules() [ -z "$SUSPEND_MODULES" ] && return $NA for x in $SUSPEND_MODULES ; do printf "Unloading kernel module %s..." "$x" - modunload $x && echo Done. || { touch $INHIBIT; echo Failed.; } + modunload $x && echo Done. || { inhibit "Unloading kernel module $x failed."; echo Failed.; } done return 0 } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org