From ceb1480e486d062b48262f769d63fdbcc955df89 Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Wed, 6 Sep 2023 23:15:22 +0530 Subject: [PATCH] sys-firmware/edk2-aarch64: drop old package and replace with new Signed-off-by: Sayan Chowdhury --- .../sys-firmware/edk2-aarch64/Manifest | 2 +- .../edk2-aarch64/edk2-aarch64-18.02.ebuild | 22 ------------------ .../edk2-aarch64/edk2-aarch64-20220221.ebuild | 23 +++++++++++++++++++ 3 files changed, 24 insertions(+), 23 deletions(-) delete mode 100644 sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/edk2-aarch64-18.02.ebuild create mode 100644 sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/edk2-aarch64-20220221.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/Manifest b/sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/Manifest index 29730be890..22b3138c39 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/Manifest +++ b/sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/Manifest @@ -1 +1 @@ -DIST QEMU_EFI.fd 2097152 BLAKE2B 0b65476a7b7363d7ab195dddf59fc69f8c3352de0e41a33cd967629300ee0affc063056603ac5fb53e2b11933060894f74fc8384f117eee6344b518c382eb58a SHA512 ebf456fe789a52ae3a367a1f277255d3db3602af4206fc9a4f8912580312f9262d61221df8f894392dffc98a85535be86196336edc12e0df709110df4b477313 +DIST edk2-aarch64-20230524-3.fc38.noarch.rpm 7363923 BLAKE2B 75ff00ea1e988148fbc9a56b8ee3eb44bdec5ceb51b554c3d298191feeb2c876f43740aa3608d3e4b4cc3223aa6bfd8a275f8c6f4c92595af07498b5d6ee68af SHA512 bfe814e0b2230104887a2638f6871fda54cde65937c93226c56cac1a4e1a915b474d690e2862f71ecfc584c3c74d5a091482e038cfc83de9091e5dc49916119b diff --git a/sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/edk2-aarch64-18.02.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/edk2-aarch64-18.02.ebuild deleted file mode 100644 index 0feb414c60..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/edk2-aarch64-18.02.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Linaro edk2 ARM64 EFI firmware" -HOMEPAGE="https://github.com/tianocore/edk2" -SRC_URI="http://releases.linaro.org/reference-platform/enterprise/firmware/18.02/release/qemu-aarch64/QEMU_EFI.fd" - -LICENSE="BSD-2-Clause-Patent" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" - -src_unpack() { - mkdir "${S}" - cp ../distdir/"${A}" "${S}"/QEMU_EFI.fd -} - -src_install() { - mkdir -p "${D}/usr/share/edk2-aarch64" - cp QEMU_EFI.fd "${D}/usr/share/edk2-aarch64/QEMU_EFI.fd" -} diff --git a/sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/edk2-aarch64-20220221.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/edk2-aarch64-20220221.ebuild new file mode 100644 index 0000000000..d1fead7ff0 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/sys-firmware/edk2-aarch64/edk2-aarch64-20220221.ebuild @@ -0,0 +1,23 @@ +# Copyright (c) 2024 The Flatcar Maintainers. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit rpm + +DESCRIPTION="Fedora's build of edk2 ARM64 EFI firmware" +HOMEPAGE="https://packages.fedoraproject.org/pkgs/edk2/edk2-aarch64/" +SRC_URI="https://kojipkgs.fedoraproject.org//packages/edk2/20230524/3.fc38/noarch/edk2-aarch64-20230524-3.fc38.noarch.rpm" + +LICENSE="BSD-2-Clause-Patent openssl" +SLOT="0" +KEYWORDS="amd64 arm64" + +S="${WORKDIR}" + +src_install() { + # Avoid collision with qemu installed config file + mv usr/share/qemu/firmware/{60,61}-edk2-aarch64.json + insinto / + doins -r * +}