Anaconda-Kadischi patches

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

 



Hi.
I noticed the Anaconda release in development has changed from 10.91.0 to 10.91.4-1 Attached for the devs are Anaconda patches for anaconda-10.91.4-1 needed to utilize LivCD mode in Anaconda for Kadischi. If you can review them, and see if we can get them into later Anaconda that would be excellent.
(Those that are unaware, Kadischi is a Fedora Core LiveCD building tool.)
Thanks!

J. Hartline
--- /usr/sbin/anaconda.orig	2006-01-15 08:24:29.000000000 -0600
+++ /usr/sbin/anaconda	2006-01-15 08:36:05.000000000 -0600
@@ -418,7 +418,7 @@
 
 try:
     (args, extra) = isys.getopt(theargs, 'CGTRxtdr:fm:', 
-	  [ 'graphical', 'text', 'test', 'debug',
+	  [ 'graphical', 'text', 'test', 'debug', 'livecd',
 	    'method=', 'rootpath=', 'pcic=', "overhead=",
 	    'testpath=', 'mountfs', 'traceonly', 'kickstart=',
 	    'lang=', 'keymap=', 'kbdtype=', 'module=', 'class=',
@@ -510,6 +510,8 @@
 	flags.expert = 1 
     elif (str == '--graphical'):
 	display_mode = 'g'
+    elif (str == '--livecd'):
+        flags.livecd = 1
     elif (str == '--keymap'):
 	keymap = arg
     elif (str == '--kickstart'):
@@ -1158,6 +1160,18 @@
     dispatch.skipStep("bootloaderadvanced", permanent = 1)
     dispatch.skipStep("upgbootloader", permanent = 1)
 
+# Setup options if we are a LiveCD
+if flags.livecd:
+    dispatch.skipStep("partitionobjinit", permanent = 1)
+    dispatch.skipStep("partition", permanent = 1)
+    dispatch.skipStep("addswap", permanent = 1)
+    dispatch.skipStep("partitiondone", permanent = 1)
+    dispatch.skipStep("instbootloader", permanent = 1)
+    dispatch.skipStep("bootdisk", permanent = 1)
+    dispatch.skipStep("makebootdisk", permanent = 1)
+    dispatch.skipStep("writexconfig", permanent = 1)
+    dispatch.skipStep("complete", permanent = 1)
+
 # set up the headless case
 if isHeadless == 1:
     id.setHeadless(isHeadless)
--- /usr/lib/anaconda/flags.py.orig	2006-01-15 08:41:35.000000000 -0600
+++ /usr/lib/anaconda/flags.py	2006-01-15 08:44:46.000000000 -0600
@@ -41,6 +41,7 @@
 	self.__dict__['flags']['usevnc'] = 0
 	self.__dict__['flags']['dmraid'] = 1
 	self.__dict__['flags']['selinux'] = SELINUX_DEFAULT
+        self.__dict__['flags']['livecd'] = 0
         # for non-physical consoles like some ppc and sgi altix,
         # we need to preserve the console device and not try to
         # do things like bogl on them.  this preserves what that

[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