[rhel7/master/f21-anaconda] Set the autopart fstype for boot too (#1112697)
Brian C. Lane
bcl at redhat.com
Thu Oct 30 21:43:47 UTC 2014
/boot should have the same fstype as everything else when using autopart
--fstype.
Related: rhbz#xxxxxxx
Resolves: rhbz#xxxxxx
---
anaconda.spec.in | 2 +-
pyanaconda/kickstart.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/anaconda.spec.in b/anaconda.spec.in
index e8fcb20..341c25e 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -85,7 +85,7 @@ The anaconda package is a metapackage for the Anaconda installer.
%package core
Summary: Core of the Anaconda installer
-Requires: python-blivet >= 0.61.0.9-1
+Requires: python-blivet >= blivet-0.61.0.16-1
Requires: python-meh >= %{mehver}
Requires: libreport-anaconda >= 2.0.21-1
Requires: libreport-rhel-anaconda-bugzilla >= 2.1.11-1
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 5c36b7b..8d1ed12 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -292,6 +292,7 @@ class AutoPart(commands.autopart.RHEL7_AutoPart):
if self.fstype:
try:
storage.setDefaultFSType(self.fstype)
+ storage.setDefaultBootFSType(self.fstype)
except ValueError:
raise KickstartValueError(formatErrorMsg(self.lineno,
msg=_("Settings default fstype to %s failed.") % self.fstype))
--
1.9.3
More information about the anaconda-patches
mailing list