[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-desktop-list
Subject:    Re: Improving the Fedora boot experience
From:       Colin Walters <walters () verbum ! org>
Date:       2013-03-18 20:14:06
Message-ID: 1363637646.30745.62.camel () localhost
[Download RAW message or body]

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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic