mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sys-boot/zfsbootmenu: add 3.1.0
Closes: https://bugs.gentoo.org/970656 Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST zfsbootmenu-1.12.0.tar.gz 1688946 BLAKE2B 291dcc813767def653bc4983cb9ff4c5b
|
||||
DIST zfsbootmenu-2.2.2.tar.gz 1830178 BLAKE2B e2191e26215214ce2ed803bf0659aea9ba629fcb35acb75e6398731b5edcee4bc2820203844c80998e39fd4c6eb904244fce6a37126038cd816156466976100a SHA512 895491305bf97147252a63a28d378823068e83417146a949d018b49b6e6d3274af434e8047082dad08494f6db44429a9948531321750b88b0eaf282710356914
|
||||
DIST zfsbootmenu-2.3.0.tar.gz 1891010 BLAKE2B 2e84204994008c85ba0ad7231fe442bd02cbb45d57b3dfd707b86d1484b155dc8309958cd66d90336897e9841596aa74d6ffa4a969bca0e65679806ac8233e94 SHA512 9b8e2d5ea258a32cd09a9382faaa21beea54f2ed825fa747f10ffe0b9f191c257b023019ec76dc882e649e8ea6fcd8e310632bba6c783228c594e3d0fee2c9c8
|
||||
DIST zfsbootmenu-3.0.1.tar.gz 1905474 BLAKE2B 879eb533c333eb95eba7d6d003e3a5ec9446aa7a6443dc28f5c7002c20bfea229601cddb670a24b0638aa94ad14b038822d389488b5028c47484ffc39f7d1633 SHA512 8176ba9325a0d7f06ce9007a2a46cbb1a66f876987ef281f2fac0e0584dfd206ef55211de4af3aa9ae23d64788060119b070c9083e33928a85542efd07c08c95
|
||||
DIST zfsbootmenu-3.1.0.tar.gz 1912653 BLAKE2B 37a209dd50ce1da74f4f1d4e20f051cdac121efb71066c944cac43ff3a7d3186e7756c6fe65a393bc50d90cd03f84c7204dd1eb42728fa70dccb1246b5135142 SHA512 79d2134e827e27dbcc170f47b7c8f465f64d70a1bb6ddb2f05553a0515ccdc75e857e5378fd4fb9d61f3b07d3b0be8e163bde755dd09e0f7e599ebf14c575810
|
||||
|
||||
55
sys-boot/zfsbootmenu/zfsbootmenu-3.1.0.ebuild
Normal file
55
sys-boot/zfsbootmenu/zfsbootmenu-3.1.0.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="ZFS bootloader for root-on-ZFS systems"
|
||||
HOMEPAGE="https://zfsbootmenu.org"
|
||||
SRC_URI="https://github.com/zbm-dev/zfsbootmenu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-stub-location.patch
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
app-shells/fzf
|
||||
dev-lang/perl
|
||||
dev-perl/boolean
|
||||
dev-perl/Config-IniFiles
|
||||
dev-perl/Sort-Versions
|
||||
dev-perl/YAML-PP
|
||||
sys-apps/kexec-tools
|
||||
sys-block/mbuffer
|
||||
sys-fs/zfs
|
||||
sys-kernel/dracut
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
hprefixify bin/*
|
||||
if [[ -n ${BROOT} ]]; then
|
||||
sed -e "s,#!/bin/sh,#!${BROOT}/bin/sh," \
|
||||
-i install-tree.sh releng/version.sh || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# There's a makefile in the source repo but it's only for install. There's
|
||||
# nothing to compile since zfsbootmenu is all scripts.
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" EXAMPLES="/usr/share/doc/${PF}" install
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
elog "Please consult Gentoo wiki to configure the bootloader
|
||||
https://wiki.gentoo.org/wiki/ZFS/rootfs#ZFSBootMenu"
|
||||
}
|
||||
Reference in New Issue
Block a user