summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-07-19 02:01:02 +0000
committerJeremy Katz <katzj@redhat.com>2001-07-19 02:01:02 +0000
commit5b0b03307068ba62de866098765f4b82b56e3906 (patch)
tree49f2051216b5731fba45aa4d4d4353146da56f81 /bootloader.py
parent4e9f6e4163fb7be9469271cb36e001044eedd3e4 (diff)
downloadanaconda-5b0b03307068ba62de866098765f4b82b56e3906.tar.gz
anaconda-5b0b03307068ba62de866098765f4b82b56e3906.tar.xz
anaconda-5b0b03307068ba62de866098765f4b82b56e3906.zip
use actual partition type as one of the criteria in determining if it should
be the DOS install on the system
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bootloader.py b/bootloader.py
index 1287fa171..ec128fe38 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -539,12 +539,15 @@ def availableBootDevices(diskSet, fsset):
for (dev, type) in diskSet.partitionTypes():
# XXX do we boot fat on anything other than i386?
if type == 'FAT' and not foundDos and iutil.getArch() == "i386":
- foundDos = 1
isys.makeDevInode(dev, '/tmp/' + dev)
+ part = get_partition_by_name(diskset, dev)
+ if part.native_type not in dosPartitionTypes:
+ continue
try:
bootable = isys.checkBoot('/tmp/' + dev)
devs.append((dev, type))
+ foundDos = 1
except:
pass
elif type == 'ntfs' or type =='hpfs':