sys-boot/rootloader - 3.0-r1 (gardenhouse)

Search

Install

Install this version:

emerge -a =sys-boot/rootloader-3.0-r1

Package Information

Description:
A very simple UEFI bootloader.
Homepage:
https://git.pinkro.se/Rose/gardenhouse/rootloader.git/about/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
3.0-r1 8 * -~* 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson
inherit secureboot

_DEFSCOMMIT="e81d17b654ce7d77e32605242b50898799dc6c46"
DESCRIPTION="A very simple UEFI bootloader."
HOMEPAGE="https://git.pinkro.se/Rose/gardenhouse/rootloader.git/about/"
SRC_URI="https://git.pinkro.se/Rose/gardenhouse/${PN}.git/snapshot/${P}.tar.gz
		 https://git.pinkro.se/Rose/gardenhouse/efi-defs.git/snapshot/efi-defs-${_DEFSCOMMIT}.tar.bz2 -> efidefs-${_DEFSCOMMIT}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="* -~*"
IUSE=""

BDEPEND="dev-python/pyelftools"

src_unpack() {
	unpack ${P}.tar.gz
	unpack efidefs-${_DEFSCOMMIT}.tar.bz2
	mv efi-defs-* ${P}/subprojects/efi-defs
}

src_configure() {
	local emesonargs=(
		-Dc_link_args="-Wl,-z,norelro"
		-Dcpp_link_args="-Wl,-z,norelro"
	)
	meson_src_configure
	secureboot_pkg_setup
}

src_compile() {
	meson_src_compile
}

src_install() {
	meson_src_install
	secureboot_auto_sign
}

Inherited Eclasses

Dependencies

BDEPEND

dev-python/pyelftools

Manifest for 3.0-r1

Type File Size Source URLs
DIST efidefs-e81d17b654ce7d77e32605242b50898799dc6c46.tar.bz2 12057 bytes https://git.pinkro.se/Rose/gardenhouse/efi-defs.git/snapshot/efi-defs-e81d17b654ce7d77e32605242b50898799dc6c46.tar.bz2