diff --git a/SOURCES/1000-virt-Support-detection-for-ARM64-Hyper-V-guests.patch b/SOURCES/1000-virt-Support-detection-for-ARM64-Hyper-V-guests.patch new file mode 100644 index 0000000..7bc8ecd --- /dev/null +++ b/SOURCES/1000-virt-Support-detection-for-ARM64-Hyper-V-guests.patch @@ -0,0 +1,24 @@ +From 1411ffd6a63af4e71e9cf842727f0421d7ee92e6 Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Wed, 1 Dec 2021 13:29:56 +0000 +Subject: [PATCH] virt: Support detection for ARM64 Hyper-V guests + +--- + src/basic/virt.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/basic/virt.c b/src/basic/virt.c +index 0b88005..5abba75 100644 +--- a/src/basic/virt.c ++++ b/src/basic/virt.c +@@ -155,6 +155,7 @@ static int detect_vm_dmi(void) { + { "Parallels", VIRTUALIZATION_PARALLELS }, + /* https://wiki.freebsd.org/bhyve */ + { "BHYVE", VIRTUALIZATION_BHYVE }, ++ { "Microsoft", VIRTUALIZATION_MICROSOFT }, + }; + unsigned i; + int r; +-- +2.27.0 + diff --git a/SPECS/systemd.spec b/SPECS/systemd.spec index 9692c92..ca5eaec 100644 --- a/SPECS/systemd.spec +++ b/SPECS/systemd.spec @@ -13,7 +13,7 @@ Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd Version: 239 -Release: 68%{?dist} +Release: 68%{?dist}.alma # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: System and Service Manager @@ -882,6 +882,10 @@ Patch0829: 0829-sd-event-add-relative-timer-calls.patch Patch0830: 0830-logind-add-option-to-stop-idle-sessions-after-specif.patch Patch0831: 0831-logind-schedule-idle-check-full-interval-from-now-if.patch + +# https://github.com/systemd/systemd/pull/20998 +Patch1000: 1000-virt-Support-detection-for-ARM64-Hyper-V-guests.patch + %ifarch %{ix86} x86_64 aarch64 %global have_gnu_efi 1 %endif