summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-07-11 15:42:58 +0000
committerChris Lumens <clumens@redhat.com>2006-07-11 15:42:58 +0000
commitdd10eaa60c6b6e0903d1e1977339eb6d61b0e770 (patch)
tree3b7ce5836b35aa06a22065864ca4dfd80fda4185 /bootloader.py
parent6725624ecc1284120c475edabb38f7ecfc1dbb72 (diff)
downloadanaconda-dd10eaa60c6b6e0903d1e1977339eb6d61b0e770.tar.gz
anaconda-dd10eaa60c6b6e0903d1e1977339eb6d61b0e770.tar.xz
anaconda-dd10eaa60c6b6e0903d1e1977339eb6d61b0e770.zip
Check the UTC box on the text interface automatically if there's no Windows
partitions.
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bootloader.py b/bootloader.py
index 692a18c49..41934f121 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -204,3 +204,12 @@ def getBootloader():
return booty.getBootloader()
else:
return bootloaderInfo.isolinuxBootloaderInfo()
+
+def hasWindows(bl):
+ foundWindows = False
+ for (k,v) in bl.images.getImages().iteritems():
+ if v[0].lower() == 'other' and v[2] in dosFilesystems:
+ foundWindows = True
+ break
+
+ return foundWindows