Package Details: ovmf-git 1:r25361.514c55c185-1

Git Clone URL: (read-only, click to copy)
Package Base: ovmf-git
Description: Tianocore UEFI firmware for qemu.
Upstream URL:
Keywords: efi tiano tianocore uefi
Licenses: custom
Conflicts: ovmf
Provides: ovmf
Submitter: ridikulusrat
Maintainer: markzz
Last Packager: markzz
Votes: 30
Popularity: 0.000000
First Submitted: 2015-07-22 00:06
Last Updated: 2019-01-14 01:15

Dependencies (6)

Required by (2)

Sources (1)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

ulidtko commented on 2021-05-04 16:16

Can you please fix this so that it produces a single OVMF.fd file? Not (only) a pair of ovmf_{code,vars}_x64.bin like it does now.

Every damn readme, wiki, gist & blogpost says basically "just pass -bios /path/to/OVMF.fd & bob's your uncle, qemu runs uefi". Well. No such thing here.

I guess it's something extremely trivial, prolly just concatenation of two files (in the right order) -- but, all these .fdf & .dsc & obscure build workspaces and whatnot are extremely confusing. I don't need to learn all this to simply test if my usb stick will boot. A single ready-to-use file would help a lot.

For now, I've uninstalled this package and switched to extra/edk2-ovmf instead. It does provide both OVMF_CODE.fd and OVMF_VARS.fd -- but also a single OVMF.fd which Simply Works with Qemu.

AbrarSyed commented on 2019-07-12 07:36

Since this conflicts with extra/ovmf, it would be nice if it deposited the files in the same location so that I didn't have to modify my qemu config. A Simple symbolic link could do the trick, or installation to both locations?

package() {
  install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_CODE.fd "${pkgdir}"/usr/share/ovmf/ovmf_code_x64.bin
  install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_VARS.fd "${pkgdir}"/usr/share/ovmf/ovmf_vars_x64.bin
  install -D -m644 "${srcdir}"/edk2/OvmfPkg/License.txt "${pkgdir}"/usr/share/licenses/ovmf/License.txt

  # symlink
  mkdir -p "${pkgdir}"/usr/share/ovmf/x64
  ln -s /usr/share/ovmf/ovmf_code_x64.bin "${pkgdir}"/usr/share/ovmf/x64/OVMF_CODE.fd
  ln -s /usr/share/ovmf/ovmf_vars_x64.bin "${pkgdir}"/usr/share/ovmf/x64/OVMF_VARS.fd

  # or install to 2 spots
  install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_CODE.fd "${pkgdir}"/usr/share/ovmf/x64/OVMF_CODE.fd
  install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_VARS.fd "${pkgdir}"/usr/share/ovmf/x64/OVMF_VARS.fd

newsboost commented on 2019-06-23 13:44

Hmm... The upstream URL points to something that says: "Whoops, we can't find that page"... I'm a bit confused about which of these packages to use for my virtual (Windows 10) machine:

aur/edk2-ovmf 20180815-1 (+9 0.01%) (Out-of-date 2019-05-23) 
   EDK2 ovmf firmware from Fedora 29 rpm
aur/ovmf-git 1:r25361.514c55c185-1 (+31 0.00%) (Installed: 1:r25460.83463154af-1)
   Tianocore UEFI firmware for qemu.
extra/ovmf 1:r25737.89910a39dc-1 (1.3 MiB 2.0 MiB) 
   Tianocore UEFI firmware for qemu.

I previously used aur/edk2-ovmf, but now it says out-of-date since about a month ago, so I'm wondering if I should just use ovmf-git and if that's safe (I have the impression that extra/ovmf is too old)...? Anyway, I would have no doubts continuing to use edk2-ovmf, if it wasn't flagged as out-of-date, for the past month...

JuniorJPDJ commented on 2019-01-14 13:26

markzz: thank you very much :)

markzz commented on 2019-01-14 01:16

JuniorJPDJ: Updated to fix this. In the future, if there's an issue with the build like this, please flag the PKGBUILD as out-of-date so that it will be apparent when I log into the AUR interface.

JuniorJPDJ commented on 2019-01-04 20:42

@assimilat thanks, it fixes build for me

@markzz can you add this to PKGBUILD?

assimilat commented on 2019-01-03 16:52

JuniorJPDJ- fixed the "error 000E: File/directory not found in workspace" error by adding this to the end of the prepare funct:

cd "${srcdir}/edk2"
git submodule update --init --recursive

JuniorJPDJ commented on 2018-11-25 22:00

The package stopped building for me a while ago.

The error I'm getting:

Ran 262 tests in 1.688s

make[1]: Leaving directory '/home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/BaseTools/Tests'
make: Leaving directory '/home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/BaseTools'
WORKSPACE: /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2
EDK_TOOLS_PATH: /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/BaseTools
CONF_PATH: /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/Conf
Copying $EDK_TOOLS_PATH/Conf/build_rule.template
     to /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/Conf/build_rule.txt
Copying $EDK_TOOLS_PATH/Conf/tools_def.template
     to /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/Conf/tools_def.txt
Copying $EDK_TOOLS_PATH/Conf/target.template
     to /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/Conf/target.txt
Build environment: Linux-4.19.2-arch1-1-ARCH-x86_64-with-glibc2.2.5
Build start time: 22:57:04, Nov.25 2018

WORKSPACE        = /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2
ECP_SOURCE       = /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/EdkCompatibilityPkg
EDK_SOURCE       = /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/EdkCompatibilityPkg
EFI_SOURCE       = /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/BaseTools
CONF_PATH        = /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/Conf

Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = GCC5

Active Platform          = /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/OvmfPkg/OvmfPkgX64.dsc
Flash Image Definition   = /home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/OvmfPkg/OvmfPkgX64.fdf

Processing meta-data ......
/home/juniorjpdj/.cache/yay/ovmf-git/src/edk2/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf(31): error 000E: File/directory not found in workspace

- Failed -
Build end time: 22:57:12, Nov.25 2018
Build total time: 00:00:07

markzz commented on 2017-12-31 01:47

HCF: You don't need it. Read the wiki.

I redid the PKGBUILD to closely resemble the one on the official repositories. The only change is the branch. This is why the directories changed and the ovmf_x64.bin file is no longer packaged. If you want the file back, you can modify the PKGBUILD to your liking.

HCF commented on 2017-12-31 00:16

The newest commit doesn't work without modifications.

FYI: Paths have changed from '/usr/share/ovmf/x64/' to '/usr/share/ovmf/'


Problem: ovmf_x64.bin is not specified in PKGBUILD and thus does not get installed/compiled

Solution: Add 'install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF.fd "${pkgdir}"/usr/share/ovmf/ovmf_x64.bin' before line 58 in PKGBUILD.