summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/apt/apt-package.inc
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2016-12-16 15:07:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-28 11:26:32 +0000
commit6f84653e34b75a821fbf31b9f1aa912858e27f43 (patch)
tree1c305269d599c1fb8b6cc58b848b4cb1c4a56900 /meta/recipes-devtools/apt/apt-package.inc
parent92198bdda7add49f2c76ce55ab1f310e2128bf8f (diff)
downloadopenembedded-core-6f84653e34b75a821fbf31b9f1aa912858e27f43.tar.gz
openembedded-core-6f84653e34b75a821fbf31b9f1aa912858e27f43.tar.bz2
openembedded-core-6f84653e34b75a821fbf31b9f1aa912858e27f43.zip
ovmf: deploy firmware in image directory
When used with '-drive if=pflash', qemu will store UEFI variables inside the firmware image file. That is unexpected for a file located in the sysroot, which should be read-only, while it is normal for image files in the deploy/images directory. Therefore that directory is a better place for use with runqemu. The name was chose so that "runqemu ovmf" can be used as shorthand for "runqemu <full path>/ovmf.qcow2" by treating "ovmf" as the base name of the firmware file. "ovmf.secboot.qcow2" is meant to be used for the Secure Boot enabled firmware. qcow2 is used because it is needed for "savevm" snapshots of a virtual machine. With code and variables stored in the same ovmf.qcow2 it is not possible to update the firmware code without also overwriting the variables. For users who care about persistent variables, the code and variables are also provided as separate files, in ovmf.code.qcow2 and ovmf.vars.qcow2. The traditional usage of OVMF via the qemu bios parameter ("biosdir" and/or "biosfilename" in runqemu) is no longer recommended, and therefore this recipe no longer provides the bios.bin file. Instead, OVMF is meant to be used as flash drive in qemu. See the "runqemu: support UEFI with OVMF firmware" patch for details on how to use OVMF that way. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Diffstat (limited to 'meta/recipes-devtools/apt/apt-package.inc')
0 files changed, 0 insertions, 0 deletions