From nobody Mon Feb 9 17:24:06 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+84683+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+84683+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1639383370; cv=none; d=zohomail.com; s=zohoarc; b=evi7rsalc7T/Zw6k5RYpctIeHDedBYAYVqjNDPPWpWg+dYBnuG6knvqyRF2mQlL7w1+AaJd9nNbjvf8AnZ1YcHvvNXA72f6Gna0LB0ncxzORmFZgAAZHzS9isqSBmtBiDWTr8YKrOIYmFwh0LwVg7Eo4/1l2FOxaNKWmh0xqpYY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639383370; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=84zEZzzF/LQHOUiQfzdmBPKXGTtjhLHzwp3UUF1BBgo=; b=e0U/VutKmYWYFT5LlRZp+uPRwov1+W3nZANPjTUXXrTysaTgGioPZnYc45RgwqGB3PwBhN/K6KeiLC+CHar1fwd6LMpEzzspQlJ1ejZz12DQChO/EuKnrpGlrs0hAjDaPqOSfsgK03iIOQGGoiB4IFrN7s0gD6Xdywja6CYjF4Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+84683+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639383370225521.7839537085473; Mon, 13 Dec 2021 00:16:10 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id YRN8YY1788612xwhzk1mdGLj; Mon, 13 Dec 2021 00:16:09 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web09.8728.1639383369293235035 for ; Mon, 13 Dec 2021 00:16:09 -0800 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-325-HRkwK8L1Oo-RztVTNyL2ig-1; Mon, 13 Dec 2021 03:16:05 -0500 X-MC-Unique: HRkwK8L1Oo-RztVTNyL2ig-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C59761018F73; Mon, 13 Dec 2021 08:16:03 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.14]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C610A22E07; Mon, 13 Dec 2021 08:15:39 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 3EFD51800632; Mon, 13 Dec 2021 09:14:43 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Michael D Kinney , dovmurik@linux.ibm.com, Jiewen Yao , Liming Gao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Ard Biesheuvel , Sean Brogan , Jordan Justen , Pawel Polawski , Bret Barkelew , Jiewen Yao , Ard Biesheuvel Subject: [edk2-devel] [PATCH v4 6/7] OvmfPkg/PlatformCI: dummy grub.efi for AmdSev Date: Mon, 13 Dec 2021 09:14:42 +0100 Message-Id: <20211213081443.3534714-7-kraxel@redhat.com> In-Reply-To: <20211213081443.3534714-1-kraxel@redhat.com> References: <20211213081443.3534714-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kraxel@redhat.com X-Gm-Message-State: 7S4XWTfnIuHOnfo34lHh8KoZx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639383369; bh=/v8wsBgAHZ3CvL+s8u33xwFmvMMeJtEiBuUx0giAMdg=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=PHgivfld/Ex9ToQBqdTTLOv1aPx3UZk2y+ZSc9MnFx4bkRvxAWcVF3JZqGKieQMPLtZ 5BQCtFMRFSlcmYL66G+5Gwb9CBQTjIvs98u7+l9xKI4EJ2KUNQsyBOcQcid14QPbKsPnD 8DfoWhrs8wbv/4WSr7h0xrKWCElALgnIbOg= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639383370721100001 Content-Type: text/plain; charset="utf-8" Building grub.efi for AmdSev is difficult because it depends on patches not yet merged to upstream grub. So shortcut the grub build by simply creating an empty grub.efi file. That allows to at least build-test the AmdSev variant. Signed-off-by: Gerd Hoffmann Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel Reviewed-by: Dov Murik --- OvmfPkg/PlatformCI/AmdSevBuild.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/PlatformCI/AmdSevBuild.py b/OvmfPkg/PlatformCI/AmdSevB= uild.py index 2dd72cfe80d9..816caafb0084 100644 --- a/OvmfPkg/PlatformCI/AmdSevBuild.py +++ b/OvmfPkg/PlatformCI/AmdSevBuild.py @@ -6,6 +6,7 @@ ## import os import sys +import subprocess =20 sys.path.append(os.path.dirname(os.path.abspath(__file__))) from PlatformBuildLib import SettingsManager @@ -35,3 +36,7 @@ class CommonPlatform(): =20 import PlatformBuildLib PlatformBuildLib.CommonPlatform =3D CommonPlatform + +# hack alert -- create dummy grub.efi +subprocess.run(['touch', 'OvmfPkg/AmdSev/Grub/grub.efi']) +subprocess.run(['ls', '-l', '--sort=3Dtime', 'OvmfPkg/AmdSev/Grub']) --=20 2.33.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#84683): https://edk2.groups.io/g/devel/message/84683 Mute This Topic: https://groups.io/mt/87693645/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-