version bump sys-boot/zfsbootmenu-3.0.1 copied from guru

This commit is contained in:
Micha Glave 2025-08-19 13:21:03 +02:00
parent d0859ae89f
commit c119f803a3
2 changed files with 18 additions and 5 deletions

View File

@ -1 +1 @@
DIST zfsbootmenu-2.3.0.tar.gz 1891010 BLAKE2B 2e84204994008c85ba0ad7231fe442bd02cbb45d57b3dfd707b86d1484b155dc8309958cd66d90336897e9841596aa74d6ffa4a969bca0e65679806ac8233e94 SHA512 9b8e2d5ea258a32cd09a9382faaa21beea54f2ed825fa747f10ffe0b9f191c257b023019ec76dc882e649e8ea6fcd8e310632bba6c783228c594e3d0fee2c9c8 DIST zfsbootmenu-3.0.1.tar.gz 1905474 BLAKE2B 879eb533c333eb95eba7d6d003e3a5ec9446aa7a6443dc28f5c7002c20bfea229601cddb670a24b0638aa94ad14b038822d389488b5028c47484ffc39f7d1633 SHA512 8176ba9325a0d7f06ce9007a2a46cbb1a66f876987ef281f2fac0e0584dfd206ef55211de4af3aa9ae23d64788060119b070c9083e33928a85542efd07c08c95

View File

@ -1,8 +1,10 @@
# Copyright 2023 Gentoo Authors # Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
inherit prefix
DESCRIPTION="ZFS bootloader for root-on-ZFS systems" DESCRIPTION="ZFS bootloader for root-on-ZFS systems"
HOMEPAGE="https://zfsbootmenu.org" HOMEPAGE="https://zfsbootmenu.org"
SRC_URI="https://github.com/zbm-dev/zfsbootmenu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/zbm-dev/zfsbootmenu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
@ -26,8 +28,18 @@ sys-apps/kexec-tools
sys-block/mbuffer sys-block/mbuffer
sys-fs/zfs sys-fs/zfs
sys-kernel/dracut sys-kernel/dracut
|| ( sys-apps/systemd[boot] sys-apps/systemd-utils[boot] )
" "
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() { src_compile() {
# There's a makefile in the source repo but it's only for install. There's # There's a makefile in the source repo but it's only for install. There's
# nothing to compile since zfsbootmenu is all scripts. # nothing to compile since zfsbootmenu is all scripts.
@ -35,10 +47,11 @@ src_compile() {
} }
src_install() { src_install() {
emake DESTDIR="${D}" install emake DESTDIR="${ED}" EXAMPLES="/usr/share/doc/${PF}" install
} }
pkg_postinst () { pkg_postinst () {
elog "Please consult upstream doumentation to install the bootloader elog "Please consult Gentoo wiki to configure the bootloader
https://github.com/zbm-dev/zfsbootmenu" https://wiki.gentoo.org/wiki/ZFS/rootfs#ZFSBootMenu"
} }