Bug#448137: the parameters --quirk-s3-* forbid any other parameter to be passed to s2ram

2007-10-29 Thread Tim Dijkstra
On Fri, 26 Oct 2007 11:54:32 +0200
Mau [EMAIL PROTECTED] wrote:

 Package: pm-utils
 Version: 0.99.2-3
 Severity: serious
 Tags: patch
 
 --- Please enter the report below this line. ---
 
 When any of the --quirk-s3-* parameters is passed to pm-suspend, all the
 other parameters are lost: in the pm-action script the value of a
 variable is being replaced instead of being concatenated.

Ah, good catch. Will fix it in the new upload.

grts Tim


signature.asc
Description: PGP signature


Bug#448137: the parameters --quirk-s3-* forbid any other parameter to be passed to s2ram

2007-10-26 Thread Mau
Package: pm-utils
Version: 0.99.2-3
Severity: serious
Tags: patch

--- Please enter the report below this line. ---

When any of the --quirk-s3-* parameters is passed to pm-suspend, all the
other parameters are lost: in the pm-action script the value of a
variable is being replaced instead of being concatenated.

Thanks

Mau

--- System information. ---
Architecture: i386
Kernel: Linux 2.6.22-3-p4

Debian Release: lenny/sid
990 unstable ftp.de.debian.org
900 unstable packages.kirya.net
900 unstable mi.mirror.garr.it
900 unstable download.tuxfamily.org
900 unstable deb.opera.com
500 voip-snapshots-debian-sid snapshots.ekiga.net
500 testing security.debian.org
500 testing mi.mirror.garr.it
500 testing ftp.de.debian.org
500 feisty adurepo.altervista.org
400 unstable ftp.debian-unofficial.org
200 testing ftp.debian-unofficial.org
200 stable security.debian.org
200 stable mi.mirror.garr.it
200 stable ftp.de.debian.org
200 stable apt.tt-solutions.com
150 stable ftp.debian-unofficial.org
150 experimental ftp.de.debian.org

--- Package information. ---
Depends (Version) | Installed
=-+-===
powermgmt-base | 1.29


--- pm-action	2007-10-26 11:33:07.0 +0200
+++ pm-action.orig	2007-10-26 11:21:37.0 +0200
@@ -98,7 +98,7 @@
 done
 
 if [ -n $ACPI_SLEEP ]; then
-	S2RAM_OPTS+= --acpi_sleep $ACPI_SLEEP
+	S2RAM_OPTS= --acpi_sleep $ACPI_SLEEP
 fi
 
 if [ -n $S2RAM_OPTS ]; then