summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-01-25 23:38:01 +0000
committerMike Fulbright <msf@redhat.com>2001-01-25 23:38:01 +0000
commit14faf1cb12d0b0dfeda7742437864d67bee10416 (patch)
treebc8e6a8935f47f2ea224b41da92083db42df0cba /upgrade.py
parentc63353eed7b0f1d3e94ab9dc329a9543310fb3ee (diff)
downloadanaconda-14faf1cb12d0b0dfeda7742437864d67bee10416.tar.gz
anaconda-14faf1cb12d0b0dfeda7742437864d67bee10416.tar.xz
anaconda-14faf1cb12d0b0dfeda7742437864d67bee10416.zip
turn off partitionless upgrades for this beta
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py
index 1f17c300f..cd7d0e18c 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -64,9 +64,15 @@ def findExistingRoots (intf, theFstab):
continue
if os.access('/mnt/sysimage/redhat.img', os.R_OK):
- rootparts.append((dev, "vfat"))
+# old code rootparts.append((dev, "vfat"))
+ intf.messageWindow(_("Error"),
+ _("Partitionless upgrades are NOT supported in this beta"))
+ isys.umount('/mnt/sysimage')
+ win.pop ()
+ return []
isys.umount('/mnt/sysimage')
+
os.remove ('/tmp/' + drive)
win.pop ()
return rootparts