Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Fwd: Bug#446994: partman-base: <go back> from first dialog no longer works

From: <anton(at)lml.bas.bg>
Date: Wed Nov 14 2007 - 11:33:15 EST


> It is no longer possible to <Go Back> from the first partman dialog
> (selection of partman-auto partitioning method). Instead partman loops
> back to the same dialog.

The following are changes I did in partman-auto/display.d/initial_auto:

@@ -119,7 +120,10 @@

        ask_user /lib/partman/automatically_partition
        code=$?

 done
-if [ $code -lt 100 ]; then
+if [ $code -eq 255 ]; then
+       code=99 # do not back up to main menu, restart partman instead
+fi
+if [ $code -gt 0 ] && [ $code -lt 100 ]; then
        rm -f /var/lib/partman/initial_auto # try again
 fi
 echo "partman-auto/automatically_partition" > /lib/partman/automatically_partition/question

The fact I put a comment here means I have caused this bug intentionaly. However now I can not remember my reasons so maybe it is just a mistake.

Try not to change $code from 255 to 99 here and hopefuly this will fix the bug. That is, remove the "if [ $code -eq 255 ]; then" line and the two lines after it.

Anton Zinoviev

-- 
To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Nov 14 11:32:13 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:23:59 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library