Commit Graph

18 Commits

Author SHA1 Message Date
Thomas Lamprecht
2cfb5323bd fix empty AAVMF_VARS.fd file
Adapted from:
5e68feec5b

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 10:45:26 +02:00
Fiona Ebner
8b68f76f47 fix #4625: restore SMBIOS type 0 table defaults
Commit 4cb94f20b0 ("OvmfPkg/SmbiosPlatformDxe: use PcdFirmware*") in
the edk2 submodule made the switch from hard coded values for the
SMBIOS type 0 table to using those defined in the PCD (Platform
Configuration Database). But this changed the value for the vendor
from "EFI Development Kit II / OVMF" to "EDK II" and made version and
release date "unknown". This can cause problems for hardware keys[0],
and the missing date can make Windows unhappy[1].

The PCD information can be specified during build. For the vendor,
just revert to the hardcoded value from before. This should be enough
to resolve the issue in [0]. For version and date, use sensible values
gathered from the build variables. The date format is mm/dd/yyyy while
the version is free-form according to [2], section 7.1.

[0]: https://bugzilla.proxmox.com/show_bug.cgi?id=4625
[1]: https://edk2.groups.io/g/devel/message/100922
[2]: https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.2.0.pdf

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-04-04 16:10:09 +02:00
Fiona Ebner
7e34b89874 d/rules: re-enable PVSCSI support
It is not maintained anymore and got disabled by default in upstream
commit 57783adfb5 ("OvmfPkg: Change default to disable MptScsi and
PvScsi"). Re-enable it to preserve backwards compatibility in Proxmox
VE.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-03-23 11:21:05 +01:00
Thomas Lamprecht
1cc8f0e1f5 d/rules: sync with packaging upstream
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-08 08:42:48 +01:00
Thomas Lamprecht
8cefa645e8 d/rules: backport "Remove no-longer-used variable definition"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-19 13:46:18 +02:00
Thomas Lamprecht
0ca2f76cb1 d/rules: adapt to upstream TPM2 compile flag rename
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-19 13:46:18 +02:00
Thomas Lamprecht
a2b8eeec2a d/rules: enable IPv6 for PXE
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-19 13:46:18 +02:00
Thomas Lamprecht
13d9aa9db3 backport "Build up $(COMMON_FLAGS) line-by-line "
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-19 13:46:18 +02:00
Thomas Lamprecht
a65627a818 debian: update build and packaging from Debian upstream
Among other thing this now ships OVMF code/vars with secureboot and
MS keys enrolled, allowing Win11 final to get installed and secure
boot support in general.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-05 14:11:09 +02:00
Thomas Lamprecht
1345c3eb6c d/rules: fix export of python3 commands
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-05 08:56:13 +02:00
Thomas Lamprecht
2721bb8469 d/rules: enable TLS for network stack
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-05 08:48:30 +02:00
Thomas Lamprecht
2b1d392aea d/rules: reuse dpkgs default.mk
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-05 08:47:45 +02:00
Thomas Lamprecht
ae7621ee83 d/rules: drop debguging echo
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-05 08:47:10 +02:00
Stefan Reiter
111c577632 enable TPM and TPM2 support
Necessary for an OS to use a TPM attached to a OVMF VM.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2021-09-23 17:08:27 +02:00
Thomas Lamprecht
1da98c7b4a d/rules: set PYTHON3_ENABLE and PYTHON_COMMAND
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-13 18:33:36 +02:00
Thomas Lamprecht
7ea3cb518a d/rules: fix EFI shell path
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-03 17:37:56 +02:00
Thomas Lamprecht
20ffa59c3d build and include AAVMF
To allow use in emulated and native AARCH64 VMs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-23 09:36:29 +02:00
Thomas Lamprecht
33bf0acc91 Initial import
new repository splitting out the EDK2 (Efi Development Kit II) backed
OVMF (Open Virtual Machine Firmware) from pve-qemu package, where
only pre-built BLOBs were tracked.

Borrow some the built style from the Debian Upstream package.

We do not provide/conflict ovmf from Debian, but rather see this as
it's own package, providing the FW files under its own path.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-22 08:26:15 +01:00