grub-lakitu: REDHAT: MASTER-SB: 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
before pulling out the individual blocks later on.

(cherry picked from commit d173b6cae51563660470af511c48cb543b31dba2)
(from master-sb branch of https://github.com/rhboot/grub2)

BUG=b:69569602
TEST=TBD

Change-Id: I40681368f9c92dafbb216b7aa363a24e91578235
Reviewed-on: https://chromium-review.googlesource.com/945895
Reviewed-by: Edward Jee <edjee@google.com>
Commit-Queue: Edward Jee <edjee@google.com>
Tested-by: Edward Jee <edjee@google.com>
Trybot-Ready: Edward Jee <edjee@google.com>
1 file changed
tree: 69598b9e4b43ded8881376a1570121fc16711cd1
  1. COMMIT-QUEUE.ini
  2. README
  3. grub-lakitu/