<feed xmlns='http://www.w3.org/2005/Atom'>
<title>efi-boot-shim.git/Makefile, branch Release_3.3.4</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=Release_3.3.4</id>
<link rel='self' href='https://git.amelek.net/vyos/efi-boot-shim.git/atom?h=Release_3.3.4'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/'/>
<updated>2016-06-30T20:31:43+00:00</updated>
<entry>
<title>makefile: Fix detecting objcopy version</title>
<updated>2016-06-30T20:31:43+00:00</updated>
<author>
<name>Carlo Caione</name>
<email>carlo@endlessm.com</email>
</author>
<published>2016-06-21T12:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=48e39ab69dc731f57f9fad3eb4990a0f601c6c23'/>
<id>urn:sha1:48e39ab69dc731f57f9fad3eb4990a0f601c6c23</id>
<content type='text'>
Signed-off-by: Carlo Caione &lt;carlo@endlessm.com&gt;
</content>
</entry>
<entry>
<title>Sign MokManager with sbsigntool instead of pesign</title>
<updated>2016-06-30T19:43:11+00:00</updated>
<author>
<name>Steve Langasek</name>
<email>steve.langasek@canonical.com</email>
</author>
<published>2016-06-30T19:43:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=029d2eaea4a23350509fabb0f1cbb5c3140ed636'/>
<id>urn:sha1:029d2eaea4a23350509fabb0f1cbb5c3140ed636</id>
<content type='text'>
Ubuntu infrastructure uses sbsigntool for all other EFI signing, so we
use the same thing for signing MokManager with our ephemeral key.  This
also avoids an additional build dependency on libnss3-tools.
</content>
</entry>
<entry>
<title>Chainload grubx64.efi, not grub.efi</title>
<updated>2016-06-30T19:42:21+00:00</updated>
<author>
<name>Steve Langasek</name>
<email>steve.langasek@ubuntu.com</email>
</author>
<published>2016-06-30T19:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=39923b67afe5d62e99ebd7ffaf9f3feafa4c0881'/>
<id>urn:sha1:39923b67afe5d62e99ebd7ffaf9f3feafa4c0881</id>
<content type='text'>
We qualify the second stage bootloader image with the architecture name,
so we're forwards-compatible with any future 32-bit implementations.
(Non-SB grub doesn't conflict, since the image will be named
bootia32.efi anyway, not grub.efi.)
</content>
</entry>
<entry>
<title>Work around binutils version string weirdness.</title>
<updated>2016-05-18T14:33:38+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2016-05-18T14:32:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=d9a4c912c0aa72905ca793b555dcb0afb33e3b30'/>
<id>urn:sha1:d9a4c912c0aa72905ca793b555dcb0afb33e3b30</id>
<content type='text'>
Nick Clifton wrote to me and explained:

Subject: SHIM - objcopy version check broken by RHEL 7.3 binutils
Hi Peter,

  We (the tools group) have run across a small problem with the shim
  package for RHEL 7.3, whilst testing out a new version of the
  binutils.  It complains that it needs a version of objcopy that is
  &gt;= 2.23, despite the fact that the version is actually 2.25.1.

  I tracked the problem down to an extraneous space at the end of the
  version string being produced by objcopy:

    "GNU objcopy version 2.25.1-8.el7 "

  The Makefile in the shim package uses this rule to test the version of
  objcopy:

    OBJCOPY_GTE224  = $(shell expr `$(OBJCOPY) --version |grep ^"GNU objcopy" | sed 's/^.* //g' | cut -f1-2 -d.` \&gt;= 2.24)

  But, because of that extra space, the sed expression clips the entire
  line and so the test fails.

  The extra space is there because normally the version number would be
  followed by a date.  For example:

    "GNU objcopy version 2.23.52.0.1-56.el7 20130226"

  So in this case the sed will extract the date, not the version number,
  but the test will still pass.

  I could fix the binutils to remove the space, although it would be a
  bit messy and it would not fix the problem when a date is appended to
  the version number.  Instead, I would like to propose a small patch to
  the shim Makefile.  If you change the line to:

    OBJCOPY_GTE224  = $(shell expr `$(OBJCOPY) --version |grep ^"GNU objcopy" | sed 's/^.version //g' | cut -f1-2 -d.` \&gt;= 2.24)

  then the test will work as intended, with or without an extra space at
  the end of the version and with or without a date appended.

  Would it be possible to have this change added to the shim package ?

Cheers

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Measure state and second stage into TPM</title>
<updated>2016-05-11T15:11:05+00:00</updated>
<author>
<name>Matthew Garrett</name>
<email>mjg59@coreos.com</email>
</author>
<published>2015-09-21T21:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=22b58f245549a5d1f1d617a790c03966c4356d1c'/>
<id>urn:sha1:22b58f245549a5d1f1d617a790c03966c4356d1c</id>
<content type='text'>
Add support for measuring the MOK database and secure boot state into a
TPM, and do the same for the second stage loader. This avoids a hole in
TPM measurement between the firmware and the second stage loader.
</content>
</entry>
<entry>
<title>shim: rebuild shim.o if headers change</title>
<updated>2015-11-17T16:40:09+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2015-11-09T19:33:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=7cb2179b53529b2282575926e24c400243722b39'/>
<id>urn:sha1:7cb2179b53529b2282575926e24c400243722b39</id>
<content type='text'>
Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Cryptlib: Define the va functions for EFIAPI</title>
<updated>2015-11-09T14:50:50+00:00</updated>
<author>
<name>Gary Ching-Pang Lin</name>
<email>glin@suse.com</email>
</author>
<published>2015-10-27T04:00:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=5a49bad020792483b5abd137861f906c55bf9dca'/>
<id>urn:sha1:5a49bad020792483b5abd137861f906c55bf9dca</id>
<content type='text'>
It turned out that my previous crash fix(*) was wrong.
We actually always used the gcc built-in va functions instead of
the "real" va functions for EFIAPI, and we are just lucky that
ERR_add_error_data didn't crash before.

This commit copies the va functions from MdePkg/Include/Base.h
in edk2 and introdues NO_BUILTIN_VA_FUNCS for x86_64, so that all
the x86_64 build will adopt the new va functions. For safety,
I also added EFIAPI to all the functions which use va_* to avoid
the potential trouble.

(*) a7f4b26cc35204165bd04e75c34e8e7aa2a87ecc

Signed-off-by: Gary Ching-Pang Lin &lt;glin@suse.com&gt;
</content>
</entry>
<entry>
<title>Fix recursive reference for RELEASE</title>
<updated>2015-09-18T18:49:34+00:00</updated>
<author>
<name>Linn Crosetto</name>
<email>linn@hpe.com</email>
</author>
<published>2015-09-17T20:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=e22a7b5b772dba6588dd955dc017e572f7e29784'/>
<id>urn:sha1:e22a7b5b772dba6588dd955dc017e572f7e29784</id>
<content type='text'>
Building 0.9 with GNU Make 4.0 fails with the following error:

Makefile:4: *** Recursive variable 'RELEASE' references itself (eventually).  Stop.

Change RELEASE to simply-expanded.

Signed-off-by: Linn Crosetto &lt;linn@hpe.com&gt;
</content>
</entry>
<entry>
<title>Specify the gnu89 standard</title>
<updated>2015-07-28T15:46:38+00:00</updated>
<author>
<name>Gary Ching-Pang Lin</name>
<email>glin@suse.com</email>
</author>
<published>2015-07-13T08:33:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=16f8f0087a63789d2c9ad92a02b9c10c081a3654'/>
<id>urn:sha1:16f8f0087a63789d2c9ad92a02b9c10c081a3654</id>
<content type='text'>
According to the gcc5 porting guideline (*), gcc5 defaults to
-std=gnu11 instead of -std=gnu89. Append -std=gnu89 to CFLAGS
to avoid the potential problems.

(*) https://gcc.gnu.org/gcc-5/porting_to.html

Based on the patch from Cristian Rodriguez &lt;crrodriguez@opensuse.org&gt;

Signed-off-by: Gary Ching-Pang Lin &lt;glin@suse.com&gt;
</content>
</entry>
<entry>
<title>Typo on aarch64 :/</title>
<updated>2015-06-30T18:54:43+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2015-06-30T18:54:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=db142ce288a63db2e8f7858ba7564158cc7a64e5'/>
<id>urn:sha1:db142ce288a63db2e8f7858ba7564158cc7a64e5</id>
<content type='text'>
Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
</feed>
