Here is a patch against anaconda-11.2.0.54-2 which I've created which allows Anaconda to be run in it's graphical mode, while inside a LiveCD, when doing LiveCD to HDD installs. Since we pass an http:// or ftp:// URL to Anaconda, it's traditional setting was to use TUI mode. I've tested this and it seems to work OK.
The only other solution I could think of, whether the patch is accepted or not is to actually check for the presence of a "/.livecd" file in the root of the environment we are running in, this would eliminate having to check flags.rootpath, and give finer grained control. Not knowing the route Anaconda is going to take in light of Pilgrim, and since we don't use the already existant flags.livecd, I've provided both patches.
If niether patch is accepted, or a better method cannot be put in place to allow Anaconda to run in GUI mode when run within the LiveCD environment, namely Kadischi's I can always just provide the patch in the Kadischi package, and document it for those wanting to build or have LiveCDs that will install to disk in GUI mode.. when using http:// or ftp:// URL repository strings.
Attached are anaconda-live-file-GUI.patch for checking the presence of "/.livecd" file and anaconda-live-rootpath-GUI.patch for simply checking flags.rootpath.
Thanks. J. Hartline
On Tue, 2007-04-24 at 02:12 -0500, Jasper Hartline wrote:
Here is a patch against anaconda-11.2.0.54-2 which I've created which allows Anaconda to be run in it's graphical mode, while inside a LiveCD, when doing LiveCD to HDD installs. Since we pass an http:// or ftp:// URL to Anaconda, it's traditional setting was to use TUI mode. I've tested this and it seems to work OK.
The only other solution I could think of, whether the patch is accepted or not is to actually check for the presence of a "/.livecd" file in the root of the environment we are running in, this would eliminate having to check flags.rootpath, and give finer grained control. Not knowing the route Anaconda is going to take in light of Pilgrim, and since we don't use the already existant flags.livecd, I've provided both patches.
Why not just pass --graphical to anaconda like the loader does?
Jeremy
Jeremy Katz wrote:
On Tue, 2007-04-24 at 02:12 -0500, Jasper Hartline wrote:
Here is a patch against anaconda-11.2.0.54-2 which I've created which allows Anaconda to be run in it's graphical mode, while inside a LiveCD, when doing LiveCD to HDD installs. Since we pass an http:// or ftp:// URL to Anaconda, it's traditional setting was to use TUI mode. I've tested this and it seems to work OK.
The only other solution I could think of, whether the patch is accepted or not is to actually check for the presence of a "/.livecd" file in the root of the environment we are running in, this would eliminate having to check flags.rootpath, and give finer grained control. Not knowing the route Anaconda is going to take in light of Pilgrim, and since we don't use the already existant flags.livecd, I've provided both patches.
Why not just pass --graphical to anaconda like the loader does?
Alright, I feel sort of strange now. Kadischi used to actually pass --graphical by default if --text was not passed. Somehow this was removed from kadischi.py.
I will retest this issue, and make Kadischi send --graphical as default when no display.opts is sent from Kadischi. I totally overlooked this expecting it to still be there.
Thanks. J. Hartline
anaconda-devel@lists.stg.fedoraproject.org