summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-05-08 14:56:16 -0400
committerChris Lumens <clumens@redhat.com>2009-05-08 15:12:56 -0400
commit9217f49a4c5924983b5d9fe882faeed14f2322b8 (patch)
tree529871d7f95a6b9180f9e4773da98a8c13974810 /storage
parentd8915e61e72846dd94555527310d7993fc164286 (diff)
downloadanaconda-9217f49a4c5924983b5d9fe882faeed14f2322b8.tar.gz
anaconda-9217f49a4c5924983b5d9fe882faeed14f2322b8.tar.xz
anaconda-9217f49a4c5924983b5d9fe882faeed14f2322b8.zip
Do not set a parent on the /mnt/sysimage/dev bind mount object (#499724).
Doing so means we eventually end up trying to bind mount /mnt/sysimage/dev onto /mnt/sysimage/dev, which of course is never going to work. That means there's no device nodes and we can't get the boot blocks off devices to see if the upgrade bootloader option should even be offered.
Diffstat (limited to 'storage')
-rw-r--r--storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/__init__.py b/storage/__init__.py
index d37fa40d4..d3d742f8f 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1574,7 +1574,7 @@ class FSSet(object):
if "noauto" in options.split(","):
continue
- if device.format.type == "bind":
+ if device.format.type == "bind" and device != self.dev:
# set up the DirectoryDevice's parents now that they are
# accessible
#