]> code.ossystems Code Review - openembedded-core.git/commit
ovmf_git.bb: enable Secure Boot
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 20 Dec 2016 07:47:21 +0000 (08:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Feb 2017 11:26:32 +0000 (11:26 +0000)
commitd493f0b4760808f880a0fd6dedf918a3b85006b7
tree706cb80ec82604c6b402864cc326df3a77d6ad6b
parentbe307609a067b7d23dc2cd8e39e3a35f770bebc7
ovmf_git.bb: enable Secure Boot

When enabled via PACCKAGECONFIG = "secureboot" (off by default because
of the extra work and license change), the recipe compiles OVMF twice,
once without Secure Boot, once with. This is the same approach as in
https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec

The results are "ovmf.qcow2" and "ovmf.secboot.qcow2" in the
image deploy directory, so
  runqemu <machine> <image> ovmf.secboot
will boot with Secure Boot enabled.

ovmf.secboot.code.qcow2 is provided for those who want separate code
and variable flash drives. The normal ovmf.vars.qcow2 can be used with
it.

In contrast to Fedora, no attempt is made to strip potentially patent
encumbered algorithms out of the OpenSSL archive. OVMF does not use
the ones considered problematic for Fedora, so this shouldn't be a
problem.

Fixes: luv-yocto/#38
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta/recipes-core/ovmf/ovmf_git.bb