Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160404 Details for
Bug 250301
livecd installer does not honor / format option
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
probably less than ideal solution, but it might work
anaconda.mustFormatRoot.patch (text/plain), 4.09 KB, created by
Jane Dogalt
on 2007-08-01 11:20:00 UTC
(
hide
)
Description:
probably less than ideal solution, but it might work
Filename:
MIME Type:
Creator:
Jane Dogalt
Created:
2007-08-01 11:20:00 UTC
Size:
4.09 KB
patch
obsolete
>diff -Naur anaconda.cvs.20070801/iw/lvm_dialog_gui.py anaconda/iw/lvm_dialog_gui.py >--- anaconda.cvs.20070801/iw/lvm_dialog_gui.py 2007-02-27 21:17:26.000000000 +0000 >+++ anaconda/iw/lvm_dialog_gui.py 2007-08-01 10:42:28.000000000 +0000 >@@ -651,6 +651,9 @@ > request.mountpoint and request.formatByDefault()): > if not queryNoFormatPreExisting(self.intf): > continue >+ if (request.mountpoint == "/") and os.environ.has_key("LIVE_BLOCK"): >+ mustFormatRoot(self.intf) >+ continue > > # see if there is room for request > (availSpaceMB, neededSpaceMB, fspace) = self.computeSpaceValues(usepe=pesize) >diff -Naur anaconda.cvs.20070801/iw/partition_dialog_gui.py anaconda/iw/partition_dialog_gui.py >--- anaconda.cvs.20070801/iw/partition_dialog_gui.py 2007-03-16 16:06:44.000000000 +0000 >+++ anaconda/iw/partition_dialog_gui.py 2007-08-01 10:43:31.000000000 +0000 >@@ -244,6 +244,9 @@ > request.mountpoint and request.formatByDefault()): > if not queryNoFormatPreExisting(self.intf): > continue >+ if (request.mountpoint == "/") and os.environ.has_key("LIVE_BLOCK"): >+ mustFormatRoot(self.intf) >+ continue > > # everything ok, fall out of loop > break >diff -Naur anaconda.cvs.20070801/iw/raid_dialog_gui.py anaconda/iw/raid_dialog_gui.py >--- anaconda.cvs.20070801/iw/raid_dialog_gui.py 2007-03-16 16:06:44.000000000 +0000 >+++ anaconda/iw/raid_dialog_gui.py 2007-08-01 10:42:22.000000000 +0000 >@@ -212,6 +212,9 @@ > request.mountpoint and request.formatByDefault()): > if not queryNoFormatPreExisting(self.intf): > continue >+ if (request.mountpoint == "/") and os.environ.has_key("LIVE_BLOCK"): >+ mustFormatRoot(self.intf) >+ continue > > # everything ok, break out > break >diff -Naur anaconda.cvs.20070801/liveinst/liveinst.sh anaconda/liveinst/liveinst.sh >--- anaconda.cvs.20070801/liveinst/liveinst.sh 2007-04-04 18:05:42.000000000 +0000 >+++ anaconda/liveinst/liveinst.sh 2007-08-01 11:05:50.000000000 +0000 >@@ -4,7 +4,7 @@ > # > > if [ -z "$LIVE_BLOCK" ]; then >- LIVE_BLOCK="/dev/live-osimg" >+ export LIVE_BLOCK="/dev/live-osimg" > fi > > if [ ! -b $LIVE_BLOCK ]; then >diff -Naur anaconda.cvs.20070801/partIntfHelpers.py anaconda/partIntfHelpers.py >--- anaconda.cvs.20070801/partIntfHelpers.py 2007-07-06 19:53:27.000000000 +0000 >+++ anaconda/partIntfHelpers.py 2007-08-01 08:57:15.000000000 +0000 >@@ -418,6 +418,17 @@ > rc = intf.messageWindow(_("Format?"), txt, type = "custom", custom_buttons=[_("_Modify Partition"), _("Do _Not Format")], custom_icon="warning") > return rc > >+def mustFormatRoot(intf): >+ """Notify the user that leaving / unformatted is not yet possible.""" >+ txt = _("You have chosen to use a pre-existing root (i.e. '/') " >+ "partition for this installation without formatting it. " >+ "The LiveCD/LiveUSB installer is not yet able to do this." >+ "If you really need to do this, please use the traditional" >+ "(non-Live) installation media. Otherwise, please go back" >+ "and select the format option for the root volume") >+ rc = intf.messageWindow(_("Live Installer Must Format Root"), txt) >+ return rc >+ > def partitionSanityErrors(intf, errors): > """Errors were found sanity checking. Tell the user they must fix.""" > rc = 1 >diff -Naur anaconda.cvs.20070801/textw/partition_text.py anaconda/textw/partition_text.py >--- anaconda.cvs.20070801/textw/partition_text.py 2007-05-02 21:37:04.000000000 +0000 >+++ anaconda/textw/partition_text.py 2007-08-01 10:41:20.000000000 +0000 >@@ -949,6 +949,9 @@ > and request.formatByDefault()): > if not queryNoFormatPreExisting(self.intf): > continue >+ if (request.mountpoint == "/") and os.environ.has_key("LIVE_BLOCK"): >+ mustFormatRoot(self.intf) >+ continue > > if not isNew: > self.partitions.removeRequest(origrequest)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250301
:
160404
|
160456