[rhel6-branch] [PATCH] Do not use boot= in grub with fips=1 and /boot on /
Brian C. Lane
bcl at redhat.com
Wed Oct 17 17:02:01 UTC 2012
On Wed, Oct 17, 2012 at 01:38:55PM +0200, Vratislav Podzimek wrote:
> Resolves: rhbz#851249
>
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
> booty/bootloaderInfo.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
> index 20d25ea..a3d96bf 100644
> --- a/booty/bootloaderInfo.py
> +++ b/booty/bootloaderInfo.py
> @@ -168,8 +168,8 @@ class KernelArguments:
>
> if flags.cmdline.get("fips") == "1":
> bootDev = self.id.storage.mountpoints.get("/boot", rootDev)
> - bootArgs.add("boot=%s" % bootDev.fstabSpec)
> if bootDev is not rootDev:
> + bootArgs.add("boot=%s" % bootDev.fstabSpec)
> neededDevs = [ rootDev, bootDev ]
>
> if self.id.storage.fsset.swapDevices:
> --
> 1.7.11.4
Ack.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20121017/45cea192/attachment.sig>
More information about the anaconda-patches
mailing list