Commit Graph

85 Commits

Author SHA1 Message Date
Fabian Grünbichler
700760e5b7 bump version to 3.20230228-4~bpo11+3
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-02-27 09:50:59 +01:00
Fabian Grünbichler
b82f91d3ec fix CVE-2023-48733: disable EFI shell in SB mode
since the shell allows circumvention of Secure Boot restrictions, for example
via raw memory access or execution of scripts on the ESP.

see Links in the patch for details.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit 334229c409)
2024-02-15 14:36:17 +01:00
Fiona Ebner
8731c973bc bump version to 3.20230228-4~bpo11+2
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2024-01-22 14:10:34 +01:00
Fabian Grünbichler
ad29794b22 cherry-pick patches for PXE CVEs
CVE-2023-45229-CVE-2023-45237, taken from upstream announcement/issue at
https://bugzilla.tianocore.org/show_bug.cgi?id=4518

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry-picked from commit fee1be4819)
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2024-01-22 12:45:42 +01:00
Thomas Lamprecht
2f574de96d bump version to 3.20230228-4~bpo11+1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-06 16:25:46 +02:00
Thomas Lamprecht
d24cc78500 bump version to 3.20230228-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-06 16:24:32 +02:00
Thomas Lamprecht
763adf39b2 fix line endings of phys-bits patch
edk2 source is using \r\n ...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-06 16:24:32 +02:00
Fiona Ebner
c252b4e501 add patch to work around older guest kernel bug
by limiting the phys-bits to 46 instead of 47. On Ubuntu 18.04 with
kernel 4.15, using 47 leads to a strange issue where initialization of
VirtIO devices would fail.

Reported in the community forum:
https://forum.proxmox.com/threads/127410/

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-06-06 16:05:21 +02:00
Thomas Lamprecht
f9d3c7f9b1 bump version to 3.20230228-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 11:58:52 +02:00
Thomas Lamprecht
defb560586 buildsys: avoid pre-build library archives in source tar ball
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 11:58:52 +02:00
Thomas Lamprecht
1b9b362498 buildsys: make build-dir generation atomic
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 11:58:52 +02:00
Thomas Lamprecht
7728bf381b fix #4696: Revert "ArmVirtPkg: make EFI_LOADER_DATA non-executable"
> Continue to allow bootloaders to execute memory allocated as
> EFI_LOADER_DATA until GRUB fixes are more generally available.
> (Closes: #1025656)

-- a0be41b75c

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 10:56:07 +02:00
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
Thomas Lamprecht
ee520d695f d/source: override some false-positive lintian warning/errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 10:39:47 +02:00
Thomas Lamprecht
bef72511d0 buildsys: derive upload dist automatically
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 10:12:25 +02:00
Thomas Lamprecht
04649144b1 buildsys: add sbuild convenience target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 10:12:06 +02:00
Thomas Lamprecht
2bd3f0b27a buildsys: fix dsc and source tarball generation
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 10:11:46 +02:00
Thomas Lamprecht
ebb838da72 buildsys: use full DEB_VERSION
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 10:08:02 +02:00
Thomas Lamprecht
e0967b8334 refresh patches
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 10:07:31 +02:00
Thomas Lamprecht
4a58ae7489 makefile: convert to use simple parenthesis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 08:14:59 +02:00
Thomas Lamprecht
a36eb3b5a6 bump version to 3.20230228-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-04 16:11:29 +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
Thomas Lamprecht
90e8dcd1af bump version to 3.20230228-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-24 09:21:54 +01:00
Thomas Lamprecht
fae07aee0a update to edk2-stable202302
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-24 09:09:00 +01:00
Thomas Lamprecht
e065e1fd03 bump version to 3.20221111-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-23 11:25:11 +01: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
1bcede21b8 bump version to 3.20221111-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-08 08:42:48 +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
3be8db9e73 update submodule to edk2-stable202211
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-07 10:04:45 +01:00
Thomas Lamprecht
d7274593bf debian: sync tests with packaging upstream
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-07 10:01:59 +01:00
Thomas Lamprecht
5b38a120b6 debian: add patch to enforce the basic x86-64 march
this is mostly done to secure against a future change of the default
march that may come from the x86-64-v* microarchitecture level [0]
concept that is currently being developed and by some more bleeding
edge  distros even already adopted.

[0]: https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-07 09:38:47 +01:00
Thomas Lamprecht
dd9d3a52da debian: sync edk2-vars-generator script with packaging upstream
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-07 09:38:09 +01:00
Thomas Lamprecht
0ae801cae2 buildsys: change upload dist to bullseye
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-19 17:11:42 +02:00
Thomas Lamprecht
a10850a10e bump version to 3.20220228-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-19 13:51:51 +02:00
Thomas Lamprecht
c1d8033b0f update submodule to edk2-stable202205
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-19 13:51:51 +02: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
3bcaf1a25c d/readme: add aarch64 descriptions
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
47a343bc63 debian: backport packaging improvements
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-19 13:46:18 +02:00
Thomas Lamprecht
7e8a639bcf drop superfluous resolution patch
commit 862ea6e836 ("OvmfPkg: change qemu default resolution to
1280x800") made our patch that changed it to 1024x768 obsolete.

Note that QEMU is planning to change their default from 1024x768 to
1280x800 in QEMU 7.0, so that's where that new value is coming from.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-01 15:20:17 +01:00
Thomas Lamprecht
0dc68fd72c update submodule to edk2-stable202202
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-01 14:40:55 +01:00
Thomas Lamprecht
fdfe80c9f3 bump version to 3.20210831-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-15 16:54:06 +01:00
Thomas Lamprecht
e2ab583755 change default resolution to 1024x768
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-15 16:46:46 +01:00
Thomas Lamprecht
cd38d0dece bump version to 3.20210831-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-05 14:11:43 +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
5e4f7b1688 update edk2 submodule to edk2-stable202108
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-05 08:48:52 +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