summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-30 22:22:55 +0000
committerMatt Wilson <msw@redhat.com>1999-09-30 22:22:55 +0000
commitd47069ecd3969676411c9204e1b6f8a6a5d801fd (patch)
tree37c212f320ee450b1e3401407ee9489cc41422cb /todo.py
parent3d95a07c03ca153fc2a65373537ecd0e5a48ed97 (diff)
downloadanaconda-d47069ecd3969676411c9204e1b6f8a6a5d801fd.tar.gz
anaconda-d47069ecd3969676411c9204e1b6f8a6a5d801fd.tar.xz
anaconda-d47069ecd3969676411c9204e1b6f8a6a5d801fd.zip
milo fixups
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/todo.py b/todo.py
index aa8eec1a1..2d60a110f 100644
--- a/todo.py
+++ b/todo.py
@@ -503,14 +503,26 @@ class ToDo:
keys = self.mounts.keys ()
keys.sort()
+
+ arch = iutil.getArch ()
+
+ if arch == "alpha":
+ if keys.has_key ('/boot'):
+ kernelPart = '/boot'
+ else:
+ kernelPart = '/'
+
for mntpoint in keys:
(device, fsystem, format) = self.mounts[mntpoint]
if not format: continue
isys.makeDevInode(device, '/tmp/' + device)
if fsystem == "ext2" and createFs:
args = [ "mke2fs", '/tmp/' + device ]
- if iutil.getArch () == "alpha":
- args = args + ["-r", "0"]
+ # FORCE the partition that MILO has to read
+ # to have 1024 block size. It's the only
+ # thing that our milo seems to read.
+ if arch == "alpha" and mntpoint == kernelPart:
+ args = args + ["-b", "1024"]
# set up raid options for md devices.
if device[:2] == 'md':
for (rmnt, rdevice, fsType, raidType, makeup) in raid: