Re: [PATCH f15-alpha, etc.] The default kickstart UI is graphical, specify other if you want it (#678095).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2011-02-16 at 13:25 -0500, Chris Lumens wrote:
> This should fix all problems described in the above bug.  All the decisions
> about suggesting VNC are handled within anaconda proper.

Ack.

> ---
>  loader/kickstart.c |   12 ++++++------
>  1 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/loader/kickstart.c b/loader/kickstart.c
> index 6df3040..06804f8 100644
> --- a/loader/kickstart.c
> +++ b/loader/kickstart.c
> @@ -509,7 +509,7 @@ static void setUpdates(struct loaderData_s * loaderData, PyObject *handler) {
>  
>  static void setDisplayMode(struct loaderData_s * loaderData, PyObject *handler) {
>      PyObject *textObj = getObject(constantsMod, "DISPLAY_MODE_TEXT", 0);
> -    PyObject *graphicalObj = getObject(constantsMod, "DISPLAY_MODE_GRAPHICAL", 0);
> +    PyObject *cmdlineObj = getObject(constantsMod, "DISPLAY_MODE_CMDLINE", 0);
>      PyObject *settingObj = getattr(handler, "displaymode", "displayMode");
>  
>      if (!settingObj)
> @@ -518,17 +518,17 @@ static void setDisplayMode(struct loaderData_s * loaderData, PyObject *handler)
>      if (settingObj == textObj) {
>          logMessage(INFO, "kickstart forcing text mode");
>          flags |= LOADER_FLAGS_TEXT;
> -    } else if (settingObj == graphicalObj) {
> -        logMessage(INFO, "kickstart forcing graphical mode");
> -        flags |= LOADER_FLAGS_GRAPHICAL;
> -    } else {
> +    } else if (settingObj == cmdlineObj) {
>          logMessage(INFO, "kickstart forcing cmdline mode");
>          flags |= LOADER_FLAGS_CMDLINE;
> +    } else {
> +        logMessage(INFO, "kickstart forcing graphical mode");
> +        flags |= LOADER_FLAGS_GRAPHICAL;
>      }
>  
>  cleanup:
>      Py_XDECREF(textObj);
> -    Py_XDECREF(graphicalObj);
> +    Py_XDECREF(cmdlineObj);
>      Py_XDECREF(settingObj);
>  }
>  


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux