Install this version:
emerge -a =sys-boot/zfsbootmenu-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-boot/zfsbootmenu-9999
Or alternatively:
emerge --autounmask-write -a =sys-boot/zfsbootmenu-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 7 | 0 |
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit optfeature
DESCRIPTION="ZFS Bootloader for root-on-ZFS systems"
HOMEPAGE="https://github.com/zbm-dev/zfsbootmenu"
inherit git-r3
EGIT_REPO_URI="https://github.com/zbm-dev/zfsbootmenu.git"
LICENSE="MIT"
SLOT="0"
RDEPEND="sys-fs/zfs
sys-kernel/dracut
app-shells/fzf
sys-apps/kexec-tools
sys-block/mbuffer
dev-perl/Config-IniFiles
dev-perl/YAML-PP
dev-perl/Sort-Versions
dev-perl/boolean
"
src_install() {
default
insinto /etc/zfsbootmenu
newins "${FILESDIR}"/config.yaml config.yaml
}
pkg_postinst() {
optfeature \
"creating a unified EFI executable (which bundles the kernel, initramfs and command line)" \
sys-boot/systemd-boot
}
sys-fs/zfs sys-kernel/dracut app-shells/fzf sys-apps/kexec-tools sys-block/mbuffer dev-perl/Config-IniFiles dev-perl/YAML-PP dev-perl/Sort-Versions dev-perl/boolean