|
|
f2fa6b |
From 9e8d5151979040c331f45b9d2cd443a59ca297e4 Mon Sep 17 00:00:00 2001
|
|
|
f2fa6b |
From: Peter Jones <pjones@redhat.com>
|
|
|
f2fa6b |
Date: Fri, 14 Feb 2014 14:44:31 -0500
|
|
|
f2fa6b |
Subject: [PATCH 2/4] Fix a part of the test plan that was out of order.
|
|
|
f2fa6b |
|
|
|
f2fa6b |
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
f2fa6b |
---
|
|
|
f2fa6b |
testplan.txt | 6 +++---
|
|
|
f2fa6b |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
f2fa6b |
|
|
|
f2fa6b |
diff --git a/testplan.txt b/testplan.txt
|
|
|
f2fa6b |
index 118dfcd..96aa364 100644
|
|
|
f2fa6b |
--- a/testplan.txt
|
|
|
f2fa6b |
+++ b/testplan.txt
|
|
|
f2fa6b |
@@ -25,10 +25,10 @@ How to test a new shim build for RHEL/fedora:
|
|
|
f2fa6b |
9) copy grub.cfg to our test directory:
|
|
|
f2fa6b |
cp /boot/efi/EFI/redhat/grub.cfg /boot/efi/EFI/test/grub.cfg
|
|
|
f2fa6b |
10) *move* \EFI\redhat\BOOT.CSV to \EFI\test
|
|
|
f2fa6b |
- mv /boot/efi/EFI/redhat/BOOT.CSV /boot/efi/EFI/test/BOOT.CSV
|
|
|
f2fa6b |
-11) sign a copy of fallback.efi and put it in \EFI\BOOT\fallback.efi
|
|
|
f2fa6b |
rm -rf /boot/efi/EFI/BOOT/
|
|
|
f2fa6b |
mkdir /boot/efi/EFI/BOOT/
|
|
|
f2fa6b |
+ mv /boot/efi/EFI/redhat/BOOT.CSV /boot/efi/EFI/test/BOOT.CSV
|
|
|
f2fa6b |
+11) sign a copy of fallback.efi and put it in \EFI\BOOT\fallback.efi
|
|
|
f2fa6b |
pesign -i /usr/share/shim/fallback.efi \
|
|
|
f2fa6b |
-o /boot/efi/EFI/BOOT/fallback.efi \
|
|
|
f2fa6b |
-s -c "Red Hat Test Certificate"
|
|
|
f2fa6b |
@@ -55,7 +55,7 @@ How to test a new shim build for RHEL/fedora:
|
|
|
f2fa6b |
If you get the expected result, shim can run things signed by its internal
|
|
|
f2fa6b |
key ring. Check a box someplace that says it can do that.
|
|
|
f2fa6b |
23) from the EFI shell, copy grub to grubx64.efi:
|
|
|
f2fa6b |
- cp \EFI\test\grubx.efi \EFI\test\grubx64.efi
|
|
|
f2fa6b |
+ cp \EFI\test\grub.efi \EFI\test\grubx64.efi
|
|
|
f2fa6b |
24) in the EFI shell, run fs0:\EFI\test\shim.efi
|
|
|
f2fa6b |
result: this should start grub, which will let you boot a kernel
|
|
|
f2fa6b |
If grub starts, it means shim can run things signed by a key in the system's
|
|
|
f2fa6b |
--
|
|
|
f2fa6b |
1.8.5.3
|
|
|
f2fa6b |
|