<feed xmlns='http://www.w3.org/2005/Atom'>
<title>efi-boot-shim.git/BUILDING, branch vyos/current</title>
<subtitle> (mirror of https://github.com/vyos/efi-boot-shim.git)
</subtitle>
<id>https://git.amelek.net/vyos/efi-boot-shim.git/atom?h=vyos%2Fcurrent</id>
<link rel='self' href='https://git.amelek.net/vyos/efi-boot-shim.git/atom?h=vyos%2Fcurrent'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/'/>
<updated>2025-02-11T15:43:37+00:00</updated>
<entry>
<title>Implement the rest of the loader protocol functions</title>
<updated>2025-02-11T15:43:37+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2023-06-30T18:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=0322e10ecc0eb6a4acbea3f83f71b19a559aaec6'/>
<id>urn:sha1:0322e10ecc0eb6a4acbea3f83f71b19a559aaec6</id>
<content type='text'>
This adds an implementation of Exit() and UnloadImage(), removes the
whole "loader_is_participating" mechanism and its supporting code, and
removes DISABLE_EBS_PROTECTION.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Add docs for ENABLE_CODESIGN_EKU</title>
<updated>2025-02-05T14:18:45+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2025-02-04T15:59:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=7ae0ee698a7e65057bb4d5322d3aabe2f435954e'/>
<id>urn:sha1:7ae0ee698a7e65057bb4d5322d3aabe2f435954e</id>
<content type='text'>
This adds documentation for the ENABLE_CODESIGN_EKU build option.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Enable the NX compatibility flag by default.</title>
<updated>2023-01-27T18:03:31+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2022-11-17T17:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=7c7642530fab73facaf3eac233cfbce29e10b0ef'/>
<id>urn:sha1:7c7642530fab73facaf3eac233cfbce29e10b0ef</id>
<content type='text'>
Currently by default, when we build shim we do not set the PE
NX-compatibility DLL Characteristic flag.  This signifies to the
firmware that shim (including the components it loads) is not prepared
for several related firmware changes:

- non-executable stack
- non-executable pages from AllocatePages()/AllocatePool()/etc.
- non-writable 0 page (not strictly related but some firmware will be
  transitioning at the same time)
- the need to use the UEFI 2.10 Memory Attribute Protocol to set page
  permissions.

This patch changes that default to be enabled by default.  Distributors
of shim will need to ensure that either their builds disable this bit
(using "post-process-pe -N"), or that the bootloaders and kernels you
support loading are all compliant with this change.  A new make
variable, POST_PROCESS_PE_FLAGS, has been added to simplify doing so.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>shim: use SHIM_DEVEL_VERBOSE when built in devel mode</title>
<updated>2022-05-17T22:16:07+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2022-04-27T21:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=803dc5c16e276c26f8400b469370f2a2ca39d7f3'/>
<id>urn:sha1:803dc5c16e276c26f8400b469370f2a2ca39d7f3</id>
<content type='text'>
This makes SHIM_VERBOSE / SHIM_DEVEL_VERBOSE work the same way as
SHIM_DEBUG / SHIM_DEVEL_DEBUG when shim is built with ENABLE_SHIM_DEVEL
set.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>shim: Don't parse load options if invoked from removable media path</title>
<updated>2021-10-12T14:50:44+00:00</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2021-08-04T08:46:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=b43758465a553d289b9f92aa5892244f19c1a76d'/>
<id>urn:sha1:b43758465a553d289b9f92aa5892244f19c1a76d</id>
<content type='text'>
We see various reports of boot failures because the generated
boot entries contain garbage/tagging that we do not expect, and
that we then parse as a second stage boot loader.
</content>
</entry>
<entry>
<title>Add ENABLE_SHIM_DEVEL config to change what our debug variable name is</title>
<updated>2021-02-16T08:12:48+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2021-01-27T17:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=2bdf0dd3a292a838b7412726c573a4a82704e80a'/>
<id>urn:sha1:2bdf0dd3a292a838b7412726c573a4a82704e80a</id>
<content type='text'>
Currently, if you have two boot entries, say one for
\EFI\fedora\shimx64.efi and one for \EFI\devel\shimx64.efi, and you set
the efi variable SHIM_DEBUG=1, both of these will trigger, and you need
to write your debugging scripts to allow each of the builds to continue.

This is a pain.

This patch makes it so on your development build, it will instead check
SHIM_DEVEL_DEBUG, thus meaning you can have it pause for a debugger only
on the development branch and not the OS you need to boot to scp in a
new development build.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Make httpboot.c always get built.</title>
<updated>2021-02-16T08:12:48+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2019-11-22T20:14:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=9b0c281db4ca94ef4299911bd966eac8f75877f2'/>
<id>urn:sha1:9b0c281db4ca94ef4299911bd966eac8f75877f2</id>
<content type='text'>
This is a backport from devel of:

  commit 634fd72ac6a6c6c9010c32506d524586826a8637
  Author: Peter Jones &lt;pjones@redhat.com&gt;
  Date:   Fri Nov 22 15:14:22 2019 -0500

      Make httpboot.c always get built.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>BUILDING: Fix a typo</title>
<updated>2021-02-15T22:20:05+00:00</updated>
<author>
<name>Nicholas Bishop</name>
<email>nicholasbishop@gmail.com</email>
</author>
<published>2018-05-17T23:28:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=c941956a5960ef9fc11b704db41eb3f20eb62749'/>
<id>urn:sha1:c941956a5960ef9fc11b704db41eb3f20eb62749</id>
<content type='text'>
This is a backport from devel for:

  commit 852091d63f73011742c61c976e40f35edd74d598
  Author: Nicholas Bishop &lt;nicholasbishop@gmail.com&gt;
  Date:   Thu May 17 19:28:53 2018 -0400

      Fix typo

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>BUILDING: fix missing DISABLE_EBS_PROTECTION section</title>
<updated>2021-02-15T22:20:05+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2021-02-14T22:15:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=0a1bf93d4a7bdf2f9f7541b50a68e8b1d93f826c'/>
<id>urn:sha1:0a1bf93d4a7bdf2f9f7541b50a68e8b1d93f826c</id>
<content type='text'>
Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>efi bins: add an easy way for vendors to add .sbat data</title>
<updated>2021-02-12T18:27:21+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2021-02-12T17:41:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=dd70785953590a0af629f7db85faba8019e85c6f'/>
<id>urn:sha1:dd70785953590a0af629f7db85faba8019e85c6f</id>
<content type='text'>
In cases where we accept vendor shim binaries with additional patches,
it may become necessary to identify those builds with additional SBAT
data.  When we consider such patches, we should be proactive in asking
vendors to include that data in the .sbat sections of their trusted EFI
binaries.

This patch adds any data in data/sbat.*.csv (after a quick sanitizing
pass) after data/sbat.csv in the .sbat section, so that no changes to
the upstream data/sbat.csv are ever required.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
</feed>
