On Tue, Sep 11, 2007 at 03:57:47PM -0400, Joey Hess wrote:
> Tim Dijkstra wrote:
> > Anyway, my last question remains. Joey, you probably have most
> > experience with stable point releases: Do you think a fix for this will
> > make it to a etch point release? Otherwise there is not much use of
> > fixing this.
> > 
> > I could also go ask debian-release@ ...
> 
> I think it might come down to what sort of patch it takes to fix it, and
> how comfortable the RMs are with said patch. It's sort of on the edge
> between a cosmetic problem and a serious bug, so the best way to make
> sure it's accepted will be to have a good and clear patch.

After Joey's analysis of why the current workaround fails, I did a few
test runs and came up with the attached patch.  It is indeed not nice,
but it seems to work ok...

Cheers,
-- 
Jérémy Bobbio                        .''`. 
[EMAIL PROTECTED]                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff -u uswsusp-0.3~cvs20060928/debian/uswsusp.config 
uswsusp-0.3~cvs20060928/debian/uswsusp.config
--- uswsusp-0.3~cvs20060928/debian/uswsusp.config
+++ uswsusp-0.3~cvs20060928/debian/uswsusp.config
@@ -87,6 +87,8 @@
     if [ -n "$USERSWAP" ] && ! echo "$SWAPLIST" | grep -q -e '\(^\|, 
\)'$USERSWAP'\(,\|$\)'; then
        SWAPLIST=${SWAPLIST}${KOMMA}${USERSWAP}
        SWAPDEFAULT=${USERSWAP}
+       db_fset uswsusp/continue_without_swap seen true
+       db_set uswsusp/continue_without_swap true
     fi
 fi
 

Attachment: signature.asc
Description: Digital signature

Reply via email to