Re: Improving the Fedora boot experience

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



On Wed, 2013-03-13 at 13:08 -0400, Máirín Duffy wrote:

> There isn't a way to run a live media graphical install and have it
> result in a non-graphical system, is there?

No code exists to do this, but from what I can read of the anaconda
code, it might be just about this simple:

$ git diff
diff --git a/pyanaconda/__init__.py b/pyanaconda/__init__.py
index ba4e3c5..759d30e 100644
--- a/pyanaconda/__init__.py
+++ b/pyanaconda/__init__.py
@@ -128,7 +128,7 @@ class Anaconda(object):
             if not klass:
                 from flags import flags
 
-                if flags.livecdInstall:
+                if flags.livecdInstall and not ('installmethod=rpm' in open('/proc/cmdline').read()):
                     from pyanaconda.packaging.livepayload import LiveImagePayload
                     klass = LiveImagePayload
                 else:


Then you'd boot the cd with installmethod=rpm.  Obviously an ugly hack,
and really anaconda would need some sort of UI for "I want to install
this system as I see it" versus "Give me list of packages to install"

Well, "git grep livecdInstall" shows other hits so there may be more
special casing, but anyways there's not really any *major* technical
difference between "standalone anaconda generated by lorax" and a
"regular live system with anaconda running as an app".

In this model, anaconda could actually be a "spin" living in
spin-kickstarts, except that lorax strips out far more than is possible
via RPM alone.


-- 
desktop mailing list
desktop@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/desktop



[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux