[PATCH] autopart.py code and documentation fixes

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

 



The autopart.autoCreatePartitionRequests() is broken.  A patch to fix
it is attached.  Some other docs and comment changes are included.

Cheers,

Matt
-- 
Matt Wilson
rpath, Inc.
msw@xxxxxxxxx
Index: anaconda
===================================================================
RCS file: /usr/local/CVS/anaconda/anaconda,v
retrieving revision 1.347
diff -u -r1.347 anaconda
--- anaconda	15 Aug 2005 20:18:44 -0000	1.347
+++ anaconda	15 Aug 2005 20:57:43 -0000
@@ -8,8 +8,8 @@
 # Mike Fulbright <msf@xxxxxxxxxx>
 # Jakub Jelinek <jakub@xxxxxxxxxx>
 # Jeremy Katz <katzj@xxxxxxxxxx>
-# Erik Troan <ewt@xxxxxxxxxx>
-# Matt Wilson <msw@xxxxxxxxxxxxxxx>
+# Erik Troan <ewt@xxxxxxxxx>
+# Matt Wilson <msw@xxxxxxxxx>
 #
 # ... And many others
 #
Index: autopart.py
===================================================================
RCS file: /usr/local/CVS/anaconda/autopart.py,v
retrieving revision 1.170
diff -u -r1.170 autopart.py
--- autopart.py	11 Aug 2005 20:56:29 -0000	1.170
+++ autopart.py	15 Aug 2005 20:57:44 -0000
@@ -1546,17 +1546,18 @@
     """Return a list of requests created with a shorthand notation.
 
     Mainly used by installclasses; make a list of tuples of the form
-    (mntpt, fstype, minsize, maxsize, grow, format)
+    (mntpt, fstype, minsize, maxsize, grow, format, asvol)
     mntpt = None for non-mountable, otherwise is mount point
     fstype = None to use default, otherwise a string
     minsize = smallest size
     maxsize = max size, or None means no max
     grow = 0 or 1, should partition be grown
     format = 0 or 1, whether to format
+    asvol = 0 or 1, whether or not it should be a logical volume
     """
     
     requests = []
-    for (mntpt, fstype, minsize, maxsize, grow, format) in autoreq:
+    for (mntpt, fstype, minsize, maxsize, grow, format, asvol) in autoreq:
         if fstype:
             ptype = fsset.fileSystemTypeGet(fstype)
         else:
@@ -1577,7 +1578,7 @@
     """Return a list of requests created with a shorthand notation using LVM.
 
     Mainly used by installclasses; make a list of tuples of the form
-    (mntpt, fstype, minsize, maxsize, grow, format)
+    (mntpt, fstype, minsize, maxsize, grow, format, asvol)
     mntpt = None for non-mountable, otherwise is mount point
     fstype = None to use default, otherwise a string
     minsize = smallest size

[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