diff options
author | Takaki Suzuki <takaki-s@users.noreply.github.com> | 2024-08-06 00:24:50 +0900 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-08-13 15:35:22 +0300 |
commit | 99fc18002631dc9ffa1fe95fc972cd14ec34e4b3 (patch) | |
tree | c601442454fae2a544389a5924563fc972ec73e0 /sys-firmware | |
parent | www-apps/radicale: add openrc service description (diff) | |
download | gentoo-99fc18002631dc9ffa1fe95fc972cd14ec34e4b3.tar.gz gentoo-99fc18002631dc9ffa1fe95fc972cd14ec34e4b3.tar.bz2 gentoo-99fc18002631dc9ffa1fe95fc972cd14ec34e4b3.zip |
sys-firmware/edk2-ovmf: Clean up ebuild file.
Reflected review comments from https://github.com/gentoo/gentoo/pull/37704
Signed-off-by: Takaki Suzuki <takaki-s@users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/37981
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-firmware')
-rw-r--r-- | sys-firmware/edk2-ovmf/edk2-ovmf-202405.ebuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys-firmware/edk2-ovmf/edk2-ovmf-202405.ebuild b/sys-firmware/edk2-ovmf/edk2-ovmf-202405.ebuild index 19628bba00c5..252893dab349 100644 --- a/sys-firmware/edk2-ovmf/edk2-ovmf-202405.ebuild +++ b/sys-firmware/edk2-ovmf/edk2-ovmf-202405.ebuild @@ -17,10 +17,6 @@ BUNDLED_MIPI_SYS_T_SUBMODULE_SHA="370b5944c046bab043dd8b133727b2135af7747a" BUNDLED_MBEDTLS_SUBMODULE_SHA="8c89224991adff88d53cd380f42a2baa36f91454" BUNDLED_LIBSPDM_SUBMODULE_SHA="828ef62524bcaeca4e90d0c021221e714872e2b5" -# TODO: talk with tamiko about unbundling (mva) - -# TODO: the binary 202105 package currently lacks the preseeded -# OVMF_VARS.secboot.fd file (that we typically get from fedora) SRC_URI="https://github.com/tianocore/edk2/archive/edk2-stable${PV}.tar.gz -> ${P}.tar.gz https://github.com/openssl/openssl/archive/${BUNDLED_OPENSSL_SUBMODULE_SHA}.tar.gz -> openssl-${BUNDLED_OPENSSL_SUBMODULE_SHA}.tar.gz https://github.com/google/brotli/archive/${BUNDLED_BROTLI_SUBMODULE_SHA}.tar.gz -> brotli-${BUNDLED_BROTLI_SUBMODULE_SHA}.tar.gz @@ -90,10 +86,6 @@ src_prepare() { cp -rl "${WORKDIR}/libspdm-${BUNDLED_LIBSPDM_SUBMODULE_SHA}"/* "SecurityPkg/DeviceSecurity/SpdmLib/libspdm" \ || die "copying libspdm failed" - sed -i -r \ - -e "/function SetupPython3/,/\}/{s,\\\$\(whereis python3\),${EPYTHON},g}" \ - "${S}"/edksetup.sh || die "Fixing for correct Python3 support failed" - default } @@ -124,14 +116,14 @@ src_compile() { # Build all EFI firmware blobs: - mkdir -p ovmf + mkdir -p ovmf || die ./OvmfPkg/build.sh \ -a "${TARGET_ARCH}" -b "${TARGET_NAME}" -t "${TARGET_TOOLS}" \ ${BUILD_FLAGS} || die "OvmfPkg/build.sh failed" cp Build/OvmfX64/*/FV/OVMF_*.fd ovmf/ - rm -rf Build/OvmfX64 + rm -r Build/OvmfX64 || die ./OvmfPkg/build.sh \ -a "${TARGET_ARCH}" -b "${TARGET_NAME}" -t "${TARGET_TOOLS}" \ |