More fixes for BLS

Add some fixes for BLS parsing logic and also make 20-grub.install script
to query the relative path of the kernel and initramfs images, so BLS can
also work when /boot is not a mount point or is a btrfs subvolume.

Also pull some build fixes.

Resolves: rhbz#1588184

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
This commit is contained in:
Javier Martinez Canillas 2018-06-04 18:28:07 +02:00
commit db7cf3a089
No known key found for this signature in database
GPG key ID: C751E590D63F3D69
246 changed files with 902 additions and 477 deletions

View file

@ -1,7 +1,7 @@
From 12312bfe1727a2992042436cb0f8c8ba1c69ee2f Mon Sep 17 00:00:00 2001
From: Matthew Garrett <mjg59@coreos.com>
Date: Sun, 9 Aug 2015 16:12:39 -0700
Subject: [PATCH 154/238] Rework linux command
Subject: [PATCH 154/243] Rework linux command
We want a single buffer that contains the entire kernel image in order to
perform a TPM measurement. Allocate one and copy the entire kernel into it
@ -103,5 +103,5 @@ index b2438547dd0..e4b8342f5d0 100644
grub_file_close (file);
--
2.17.0
2.17.1