[master/f21-branch] cmdline 'rescue' must set flags.rescue_mode (fixes rescue mode access)

David Shea dshea at redhat.com
Wed Sep 17 20:01:34 UTC 2014


On 09/17/2014 03:45 PM, Adam Williamson wrote:
> Commit 6187aa0d07 made rescue mode into part of flags, so anaconda
> looks for 'flags.rescue_mode' when deciding whether to enter
> rescue mode, but missed changing the cmdline parser to set
> flags.rescue_mode not anaconda.rescue when it sees 'rescue' in the
> parameters.
> ---
>   anaconda | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/anaconda b/anaconda
> index 4d4676e..1705e90 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -1022,7 +1022,7 @@ if __name__ == "__main__":
>       anaconda.updateSrc = opts.updateSrc
>       anaconda.methodstr = opts.method
>       anaconda.stage2 = opts.stage2
> -    anaconda.rescue = opts.rescue
> +    flags.rescue_mode = opts.rescue
>   
>       if opts.liveinst:
>           from pyanaconda.screensaver import inhibit_screensaver

Looks fine.


More information about the anaconda-patches mailing list