sys-boot/zfsbootmenu: initial import

Signed-off-by: Chaquen Beliakov Amaya <c@cgps.ch>
This commit is contained in:
Chaquen Beliakov Amaya
2022-04-16 18:09:18 +10:00
parent dbd14368ba
commit 0d1c4f7e51
4 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST zfsbootmenu-1.12.0.tar.gz 1688946 BLAKE2B 291dcc813767def653bc4983cb9ff4c5b1d9f191cb8fee6e9a58cd6826fe0204606aa095339e9eeb6e4dd3201f5f9ad1b4cc3a26712960bf057198225f4b65f9 SHA512 5af3d258eee3ade3e9e11e084f4de0d251acc952348fdc4d3656b32f8fec7460c2d59fa883e06f482bd2f59e1055d6b908cf43c29aee47059d369231197a6645

View File

@@ -0,0 +1,20 @@
--- a/etc/zfsbootmenu/config.yaml
+++ b/etc/zfsbootmenu/config.yaml
@@ -3,14 +3,15 @@ Global:
BootMountPoint: /boot/efi
DracutConfDir: /etc/zfsbootmenu/dracut.conf.d
Components:
- ImageDir: /boot/efi/EFI/void
+ ImageDir: /boot/efi/EFI/gentoo
Versions: 3
Enabled: true
syslinux:
Config: /boot/syslinux/syslinux.cfg
Enabled: false
EFI:
- ImageDir: /boot/efi/EFI/void
+ ImageDir: /boot/efi/EFI/gentoo
+ Stub: /usr/lib/systemd/boot/efi/linuxx64.elf.stub
Versions: false
Enabled: false
Kernel:

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>c@cgps.ch</email>
<name>Chaquen Beliakov Amaya</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,32 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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"
PATCHES=(
"${FILESDIR}"/${PN}-branding.patch
)
RDEPEND="
app-shells/fzf
sys-apps/kexec-tools
sys-block/mbuffer
dev-perl/Sort-Versions
dev-perl/Config-IniFiles
dev-perl/YAML-PP
dev-perl/boolean
sys-fs/zfs
sys-kernel/dracut"
pkg_postinst () {
elog "Please consult upstream doumentation to install the bootloader
https://github.com/zbm-dev/zfsbootmenu"
}