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 159146 Details for
Bug 248085
liveinst unnecessarily formats rootfs
[?]
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]
INCOMPLETE patch to remove unnecessary format of rootfs in livecd backend
anaconda.livecd_backend_skip_rootfs_format.patch (text/plain), 2.92 KB, created by
Jane Dogalt
on 2007-07-13 10:27:13 UTC
(
hide
)
Description:
INCOMPLETE patch to remove unnecessary format of rootfs in livecd backend
Filename:
MIME Type:
Creator:
Jane Dogalt
Created:
2007-07-13 10:27:13 UTC
Size:
2.92 KB
patch
obsolete
>diff -Naur anaconda.cvs.20070713/backend.py anaconda/backend.py >--- anaconda.cvs.20070713/backend.py 2007-06-26 18:58:55.000000000 +0000 >+++ anaconda/backend.py 2007-07-13 09:48:53.000000000 +0000 >@@ -44,6 +44,9 @@ > self.supportsUpgrades = True > self.supportsPackageSelection = False > >+ # some backends may have a special case for rootfs formatting >+ self.skipFormatRoot = False >+ > def doPreSelection(self, intf, id, instPath): > pass > >diff -Naur anaconda.cvs.20070713/fsset.py anaconda/fsset.py >--- anaconda.cvs.20070713/fsset.py 2007-07-02 19:05:21.000000000 +0000 >+++ anaconda/fsset.py 2007-07-13 10:14:30.000000000 +0000 >@@ -1618,7 +1618,7 @@ > self.volumesCreated = 1 > > >- def makeFilesystems (self, chroot='/'): >+ def makeFilesystems (self, chroot='/', skiprootfs=False): > formatted = [] > notformatted = [] > for entry in self.entries: >@@ -1626,6 +1626,9 @@ > or entry.isMounted()): > notformatted.append(entry) > continue >+ if (skiprootfs and entry.mountpoint == '/'): >+ formatted.append(entry) >+ continue > try: > self.formatEntry(entry, chroot) > formatted.append(entry) >@@ -1698,7 +1701,7 @@ > for entry in self.entries: > # Don't try to mount a protected partition, since it will already > # have been mounted as the installation source. >- if not entry.fsystem.isMountable() or (protected and entry.device.getDevice() in protected): >+ if not entry.fsystem.isMountable() or (protected and entry.device.getDevice() in protected) or (anaconda.backend.skipFormatRoot and entry.mountpoint == '/'): > continue > > try: >diff -Naur anaconda.cvs.20070713/livecd.py anaconda/livecd.py >--- anaconda.cvs.20070713/livecd.py 2007-07-02 19:05:21.000000000 +0000 >+++ anaconda/livecd.py 2007-07-13 09:56:42.000000000 +0000 >@@ -152,6 +152,7 @@ > backend.AnacondaBackend.__init__(self, method, instPath) > self.supportsUpgrades = False > self.supportsPackageSelection = False >+ self.skipFormatRoot = True > > def doPreInstall(self, anaconda): > if anaconda.dir == DISPATCH_BACK: >diff -Naur anaconda.cvs.20070713/packages.py anaconda/packages.py >--- anaconda.cvs.20070713/packages.py 2007-07-09 15:44:28.000000000 +0000 >+++ anaconda/packages.py 2007-07-13 09:56:01.000000000 +0000 >@@ -150,7 +150,8 @@ > anaconda.id.fsset.createLogicalVolumes(anaconda.rootPath) > anaconda.id.fsset.formatSwap(anaconda.rootPath) > anaconda.id.fsset.turnOnSwap(anaconda.rootPath) >- anaconda.id.fsset.makeFilesystems (anaconda.rootPath) >+ anaconda.id.fsset.makeFilesystems(anaconda.rootPath, >+ anaconda.backend.skipFormatRoot) > anaconda.id.fsset.mountFilesystems (anaconda) > > def setupTimezone(anaconda):
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 248085
:
159146
|
159170