diff options
author | Matt Wilson <msw@redhat.com> | 2000-01-10 18:44:39 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-01-10 18:44:39 +0000 |
commit | fae537ecb37d704290787da68651036de1b8e4ec (patch) | |
tree | 17636cd10d4b9eef51a4814688c2383fcdfb5c44 /fstab.py | |
parent | 0d4c893d28f42e7e4a4995af885babff6fa072a8 (diff) | |
download | anaconda-fae537ecb37d704290787da68651036de1b8e4ec.tar.gz anaconda-fae537ecb37d704290787da68651036de1b8e4ec.tar.xz anaconda-fae537ecb37d704290787da68651036de1b8e4ec.zip |
translate alpha boot mke2fs hacks to new fstab code
Diffstat (limited to 'fstab.py')
-rw-r--r-- | fstab.py | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -305,10 +305,7 @@ class Fstab: arch = iutil.getArch () if arch == "alpha": - if '/boot' in keys: - kernelPart = '/boot' - else: - kernelPart = '/' + bootPart = self.getBootDevice() for (mntpoint, device, fsystem, doFormat, size) in self.mountList(): if not doFormat: continue @@ -318,7 +315,7 @@ class Fstab: # 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: + if arch == "alpha" and mntpoint == bootPart: args = args + ["-b", "1024"] # set up raid options for md devices. if device[:2] == 'md': |