@plpn - thank you it worked. Here's how to patch and build to anyone who needs it
#---------------------------------------------------
# Create Directory
mkdir -p ~/Workspace/ovmf-git
# Enter Directory
cd ~/Workspace/ovmf-git
# PKGBUILD
wget https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=ovmf-git
mv PKGBUILD?h=ovmf-git PKGBUILD
# gcc-6.0.patch
wget https://aur.archlinux.org/cgit/aur.git/plain/gcc-6.0.patch?h=ovmf-git
mv gcc-6.0.patch?h=ovmf-git gcc-6.0.patch
# ovmf.install
wget https://aur.archlinux.org/cgit/aur.git/plain/ovmf.install?h=ovmf-git
mv ovmf.install?h=ovmf-git ovmf.install
# Download the Patch
wget http://pastebin.com/raw/c4LHdKux
# Apply the Patch
patch < c4LHdKux
# Make Package
makepkg -s
# Install
pacman -U ovmf-git-19358.179bcd3-1-x86_64.pkg.tar.xz
#---------------------------------------------------
pacman -Ql ovmf-git
Search Criteria
Package Details: edk2-armvirt-git r29698.6062002bd5-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/edk2-git.git (read-only, click to copy) |
---|---|
Package Base: | edk2-git |
Description: | Firmware for Virtual Machines (aarch64) |
Upstream URL: | https://github.com/tianocore/tianocore.github.io/wiki/ArmVirtPkg |
Licenses: | BSD |
Submitter: | markzz |
Maintainer: | None |
Last Packager: | markzz |
Votes: | 31 |
Popularity: | 0.000000 |
First Submitted: | 2022-01-12 20:51 (UTC) |
Last Updated: | 2022-01-12 20:51 (UTC) |
Dependencies (8)
- aarch64-linux-gnu-gcc (make)
- acpica (make)
- git (git-gitAUR, git-glAUR) (make)
- iasl (acpica) (make)
- nasm (nasm-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- seabios (make)
- util-linux-libs (util-linux-libs-selinuxAUR, util-linux-libs-aesAUR) (make)
Required by (0)
Sources (16)
- 50-edk2-ovmf-git-i386-secure.json
- 50-edk2-ovmf-git-x86_64-secure.json
- 60-edk2-armvirt-git-aarch64.json
- 60-edk2-ovmf-git-i386.json
- 60-edk2-ovmf-git-x86_64.json
- 70-edk2-ovmf-git-i386-csm.json
- 70-edk2-ovmf-git-x86_64-csm.json
- 80-edk2-ovmf-git-ia32-on-x86_64-secure.json
- 81-edk2-ovmf-git-ia32-on-x86_64.json
- 82-edk2-ovmf-git-ia32-on-x86_64-csm.json
- brotli-1.0.9.tar.gz
- edk2-git-202102-brotli-1.0.9.patch
- edk2
- https://www.openssl.org/source/openssl-1.1.1l.tar.gz
- https://www.openssl.org/source/openssl-1.1.1l.tar.gz.asc
- missing-inf.patch
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 13 Next › Last »
electricprism commented on 2016-07-22 06:23 (UTC)
plonqor commented on 2016-07-22 03:11 (UTC)
Thanks @plpn, your patch worked for me.
z3ntu commented on 2016-07-21 14:58 (UTC)
Same
patch: **** Can't open patch file /aur/packages/ovmf-git/src/edk2/CryptoPkg/Library/OpensslLib/EDKII_openssl-1.0.2g.patch : No such file or directory
plpn commented on 2016-07-20 18:06 (UTC)
EDK2 git was updated and breaks some patching.. pasted patch to reset to working EDK2 revision here: http://pastebin.com/c4LHdKux
markzz commented on 2016-06-30 15:20 (UTC)
Have you tried compiling in a clean chroot?
Sandman007 commented on 2016-06-30 12:15 (UTC)
This really needs to get fixed. I can't compile this which has brought my project to a screeching halt. If someone could show me how install this manually that would be great!
dequis commented on 2016-05-24 00:01 (UTC)
Yeah just tried and also builds fine in a clean chroot, but not outside. Weird. I don't have time to track it down, I ran out of weekend.
>Also, the other ovmf packages could just be installing files in different places than this one does
This ovmf-git package and the debian/redhat packages have both CODE and VARS files. The [extra] package only provides /usr/share/ovmf/ovmf_{ia32,x64}.bin and ovmf-bin only provides /usr/share/ovmf/bios.bin
Not entirely sure what all of this means in the context of UEFI, and this is kinda offtopic since this package does things right as far as i know.
(I ended up extracting them from a rpm in https://www.kraxel.org/repos/jenkins/edk2/)
markzz commented on 2016-05-22 23:56 (UTC)
It builds fine in a clean chroot. I have uploaded the output of `makechrootpkg' [1] and the .BUILDINFO [2] file in the resulting package.
[1] https://gist.github.com/markzz/481b981e0c441da29d9fd165bdc6100c
[2] https://gist.github.com/markzz/36011436447c35e34716b3cd19b55b6b
SpaceCadet commented on 2016-05-22 23:09 (UTC) (edited on 2016-05-22 23:20 (UTC) by SpaceCadet)
Not building for me, thought it might have something to do with gcc-multilib, but even after replacing that with non-multilib gcc it's still not building.
Looks like the same error dequis is getting.
../Makefiles/app.makefile:24: recipe for target '../bin/GnuGenBootSector' failed
make[2]: *** [../bin/GnuGenBootSector] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-sh/aur-ovmf-git/src/edk2/BaseTools/Source/C/GnuGenBootSector'
GNUmakefile:79: recipe for target 'GnuGenBootSector' failed
make[1]: *** [GnuGenBootSector] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-sh/aur-ovmf-git/src/edk2/BaseTools/Source/C'
GNUmakefile:25: recipe for target 'Source/C' failed
make: *** [Source/C] Error 2
make: Leaving directory '/tmp/yaourt-tmp-sh/aur-ovmf-git/src/edk2/BaseTools'
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build ovmf-git.
In addition, the other ovmf packages do not include ovmf_vars_x64.bin, which is needed for setting up UEFI boot for qemu. (Probably, anyways, I'm also just following the guide.)
markzz commented on 2016-05-22 20:52 (UTC) (edited on 2016-05-22 20:54 (UTC) by markzz)
I can confirm this package compiles in a clean chroot.
Also, the other ovmf packages could just be installing files in different places than this one does. Probably running a find command could find the files mentioned in the guide you're talking about.
Pinned Comments