[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Enforce the fstype that holds /boot on kickstart installs (#497238).
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Enforce the fstype that holds /boot on kickstart installs (#497238).
- Date: Thu, 23 Apr 2009 10:05:58 -0400
This is useful if there's no --fstype= parameter specified since otherwise
the default is (for now) ext4. This does not help if the user has a part
line for / and none for /boot, since doing a check for that would require
knowing what part lines come later.
---
kickstart.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/kickstart.py b/kickstart.py
index de01017..dca282d 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -586,6 +586,8 @@ class Partition(commands.partition.F9_Partition):
type = "EFI System Partition"
pd.fsopts = "defaults,uid=0,gid=0,umask=0077,shortname=winnt"
kwargs["weight"] = self.handler.anaconda.platform.weight(fstype="efi")
+ elif pd.mountpoint == "/boot":
+ type = self.handler.anaconda.platform.bootFSType
else:
if pd.fstype != "":
type = pd.fstype
@@ -700,6 +702,8 @@ class Raid(commands.raid.F9_Raid):
raise KickstartValueError, formatErrorMsg(self.lineno, msg="PV partition defined multiple times")
rd.mountpoint = ""
+ elif rd.mountpoint == "/boot" and self.handler.anaconda.platform.supportsMdRaidBoot:
+ type = self.handler.anaconda.platform.bootFSType
else:
if rd.fstype != "":
type = rd.fstype
--
1.6.1.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]