sys-boot/shim - 15.8 (gentoo)

Search

Package Information

Description:
Fedora's signed UEFI shim
Homepage:
https://src.fedoraproject.org/rpms/shim
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
15.8 8 amd64 arm64 x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit rpm secureboot

DESCRIPTION="Fedora's signed UEFI shim"
HOMEPAGE="https://src.fedoraproject.org/rpms/shim"
SRC_URI="amd64? ( https://kojipkgs.fedoraproject.org/packages/shim/${PV}/3/x86_64/shim-x64-${PV}-3.x86_64.rpm
				https://kojipkgs.fedoraproject.org/packages/shim/${PV}/3/x86_64/shim-ia32-${PV}-3.x86_64.rpm )
		x86? ( https://kojipkgs.fedoraproject.org/packages/shim/${PV}/3/x86_64/shim-x64-${PV}-3.x86_64.rpm
				https://kojipkgs.fedoraproject.org/packages/shim/${PV}/3/x86_64/shim-ia32-${PV}-3.x86_64.rpm )
		arm64? ( https://kojipkgs.fedoraproject.org/packages/shim/${PV}/3/aarch64/shim-aa64-${PV}-3.aarch64.rpm )"
S="${WORKDIR}/boot/efi/EFI"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm64 x86"

src_install() {
	insinto /usr/share/${PN}
	doins BOOT/BOOT*.EFI
	doins fedora/mm*.efi

	# Shim is already signed with Microsoft keys, but MokManager still needs
	# signing with our key otherwise we have to enrol the Fedora key in Mok list
	secureboot_auto_sign --in-place
}

Manifest for 15.8

Type File Size Source URLs
DIST shim-aa64-15.8-3.aarch64.rpm 466590 bytes https://kojipkgs.fedoraproject.org/packages/shim/15.8/3/aarch64/shim-aa64-15.8-3.aarch64.rpm
DIST shim-ia32-15.8-3.x86_64.rpm 422489 bytes https://kojipkgs.fedoraproject.org/packages/shim/15.8/3/x86_64/shim-ia32-15.8-3.x86_64.rpm
DIST shim-x64-15.8-3.x86_64.rpm 478432 bytes https://kojipkgs.fedoraproject.org/packages/shim/15.8/3/x86_64/shim-x64-15.8-3.x86_64.rpm