summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-12-01 19:33:00 +0000
committerChris Lumens <clumens@redhat.com>2006-12-01 19:33:00 +0000
commitd6e010bb76e0fcf4bd52dcc26275e5c911e1b17e (patch)
treefb3db9e81f6ba972d1bd4530158a6efd7400cc81 /fsset.py
parentdc3b8f3e18b386a8c44f603e95ef80865781493d (diff)
downloadanaconda-d6e010bb76e0fcf4bd52dcc26275e5c911e1b17e.tar.gz
anaconda-d6e010bb76e0fcf4bd52dcc26275e5c911e1b17e.tar.xz
anaconda-d6e010bb76e0fcf4bd52dcc26275e5c911e1b17e.zip
Make sure / is mounted before /boot (#217292).
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/fsset.py b/fsset.py
index c51faf93f..dbcc4d41a 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1124,6 +1124,11 @@ class FileSystemSet:
insertAt = 0
+ # Special case for /.
+ if newEntry.mountpoint == "/":
+ self.entries.insert(insertAt, newEntry)
+ return
+
# doesn't matter where these get added, so just put them at the end
if not newEntry.mountpoint or not newEntry.mountpoint.startswith("/") or self.entries == []:
self.entries.append(newEntry)