On Wed, 2009-10-21 at 10:57 -1000, David Cantrell wrote: > If the user is doing a kickstart or cmdline install and autopart is > selected for installation, force recreating the swap device for > OldSwapError, SuspendError, or UnknownSwapError. I think this patch is pasting over a problem. The real problem is that mkswap is refusing to create the swap space on this newly created lv. We need to figure out why this is happening IMO. Dave > --- > storage/__init__.py | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/storage/__init__.py b/storage/__init__.py > index 0a9dad0..6a86f7b 100644 > --- a/storage/__init__.py > +++ b/storage/__init__.py > @@ -1638,6 +1638,11 @@ class FSSet(object): > > def turnOnSwap(self, anaconda, upgrading=None): > def swapErrorDialog(msg, device): > + if (anaconda.isKickstart or flags.cmdline.has_key("cmdline")) and \ > + anaconda.id.storage.doAutoPart: > + device.format.create(force=True) > + return True > + > if not anaconda.intf: > sys.exit(0) > _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list