143 |
|
|
144 |
useRAID_flag = not flags.cmdline.has_key("noraid") |
useRAID_flag = not flags.cmdline.has_key("noraid") |
145 |
|
|
146 |
fstype = "ext3" |
fstype = "ext4" |
147 |
if flags.cmdline.has_key("ext4"): |
if flags.cmdline.has_key("ext3"): |
148 |
fstype = "ext4" |
fstype = "ext3" |
149 |
|
|
150 |
# /boot |
# /boot |
151 |
# Manually specify fstype = ext3/ext4 and size = 100 MB |
# Manually specify fstype = ext3/ext4 and size = 250 MB |
152 |
# (Platform default is fstype ext4 and size = 500 MB) |
# (Platform default is fstype ext4 and size = 500 MB) |
153 |
|
|
154 |
autorequests.append(PartSpec(mountpoint="/boot", fstype=fstype, size=100, useRAID=useRAID_flag, |
autorequests.append(PartSpec(mountpoint="/boot", fstype=fstype, size=250, useRAID=useRAID_flag, |
155 |
weight=platform.weight(mountpoint="/boot"))) |
weight=platform.weight(mountpoint="/boot"))) |
156 |
|
|
157 |
# / |
# / |