diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-30 22:22:55 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-30 22:22:55 +0000 |
commit | d47069ecd3969676411c9204e1b6f8a6a5d801fd (patch) | |
tree | 37c212f320ee450b1e3401407ee9489cc41422cb /todo.py | |
parent | 3d95a07c03ca153fc2a65373537ecd0e5a48ed97 (diff) | |
download | anaconda-d47069ecd3969676411c9204e1b6f8a6a5d801fd.tar.gz anaconda-d47069ecd3969676411c9204e1b6f8a6a5d801fd.tar.xz anaconda-d47069ecd3969676411c9204e1b6f8a6a5d801fd.zip |
milo fixups
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -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: |