Offer to ignore unformatted DASDs rather than forcing exit (#580456)
Similar to the fix for finding unformatted DASDs in rescue mode, rename
the 'Exit Installer' button to 'Ignore'. Installation continues fine
when you ignore unformatted DASDs. A little backstory, at the point in
time when I was working on this patch, I chose to force exit because
continuing with some unformatted DASDs did not work well with the
storage code at the time. Seems to work now, so the choices users get
are Format and Ignore.
Since this is similar to what the rescue mode change does, I removed the
special "rescue" return value and just have it return 1.
rc = intf.questionInitializeDASD(c, devs)
if rc == 1:
- log.info(" not running dasdfmt, exiting installer")
- sys.exit(0)
- # Check for special rescue mode return
- elif rc == "rescue":
- log.info(" rescue mode: not running dasdfmt")
+ log.info(" not running dasdfmt, continuing installation")
return
# gather total cylinder count
--
1.6.6.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
05-08-2010, 12:25 AM
"Brian C. Lane"
Offer to ignore unformatted DASDs rather than forcing exit (#580456)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/07/2010 04:49 PM, David Cantrell wrote:
> Similar to the fix for finding unformatted DASDs in rescue mode, rename
> the 'Exit Installer' button to 'Ignore'. Installation continues fine
> when you ignore unformatted DASDs. A little backstory, at the point in
> time when I was working on this patch, I chose to force exit because
> continuing with some unformatted DASDs did not work well with the
> storage code at the time. Seems to work now, so the choices users get
> are Format and Ignore.
>
> Since this is similar to what the rescue mode change does, I removed the
> special "rescue" return value and just have it return 1.
>
> Related: rhbz#582638
AckAck
- --
Brian C. Lane <bcl@redhat.com>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)