Corrected the missing boot order entry on the page and updated how the boot variables are searched for. However, DBX is still not showing up.

This commit is contained in:
Cyrus 2021-01-07 09:48:04 -05:00
parent 08c0daf9be
commit ab8d30ee82
2 changed files with 11 additions and 5 deletions

View File

@ -382,13 +382,13 @@ public class ReferenceManifestDetailsPageController
bootOrder = true;
} else if (contentStr.contains("Boot0000")) {
defaultBootDevice = true;
} else if (contentStr.contains("PK")) {
} else if (contentStr.contains("variable named PK")) {
pk = true;
} else if (contentStr.contains("KEK")) {
} else if (contentStr.contains("variable named KEK")) {
kek = true;
} else if (contentStr.contains("DB")) {
} else if (contentStr.contains("variable named db")) {
sigDb = true;
} else if (contentStr.contains("DBX")) {
} else if (contentStr.contains("variable named dbx")) {
forbiddenDbx = true;
} else if (contentStr.contains("Secure Boot is Enabled")) {
secureBoot = true;

View File

@ -85,6 +85,9 @@
<c:if test="${initialData.gptTable}">
<li>GPT Table</li>
</c:if>
<c:if test="${initialData.bootOrder}">
<li>Boot Order</li>
</c:if>
<c:if test="${initialData.defaultBootDevice}">
<li>Default boot device</li>
</c:if>
@ -132,7 +135,7 @@
</c:if>
</ul>
<c:if test="${not initialData.acpiTables || not initialData.smbiosTables || not initialData.gptTable || not initialData.defaultBootDevice}">
<c:if test="${not initialData.acpiTables || not initialData.smbiosTables || not initialData.gptTable || not initialData.bootOrder || not initialData.defaultBootDevice}">
<li>Device Configuration</li>
</c:if>
<ul>
@ -145,6 +148,9 @@
<c:if test="${not initialData.gptTable}">
<li>GPT Table</li>
</c:if>
<c:if test="${not initialData.bootOrder}">
<li>Boot Order</li>
</c:if>
<c:if test="${not initialData.defaultBootDevice}">
<li>Default boot device</li>
</c:if>