mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
sys-boot/zfsbootmenu: add 2.2.0
Signed-off-by: Artemis Everfree <artemis@artemis.sh>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST zfsbootmenu-1.12.0.tar.gz 1688946 BLAKE2B 291dcc813767def653bc4983cb9ff4c5b1d9f191cb8fee6e9a58cd6826fe0204606aa095339e9eeb6e4dd3201f5f9ad1b4cc3a26712960bf057198225f4b65f9 SHA512 5af3d258eee3ade3e9e11e084f4de0d251acc952348fdc4d3656b32f8fec7460c2d59fa883e06f482bd2f59e1055d6b908cf43c29aee47059d369231197a6645
|
||||
DIST zfsbootmenu-2.2.0.tar.gz 1825473 BLAKE2B 3ec2c3b7fb7bfa0f2859978bbfe61fea0702000e8eeb03040cab6230195bb413d8e29dc256154606a3330ab403d05908fe2df6190c133885877e45948e7d5429 SHA512 7428ce3d5b168e65d26e9f2e26196d48287f16ed05c650600990fc5effa27c68d9f3af03eeb16ae7158c761e489ecef31bfbd868c64cc0bdee356ed00e7c0cfe
|
||||
|
||||
13
sys-boot/zfsbootmenu/files/zfsbootmenu-stub-location.patch
Normal file
13
sys-boot/zfsbootmenu/files/zfsbootmenu-stub-location.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/etc/zfsbootmenu/config.yaml b/etc/zfsbootmenu/config.yaml
|
||||
index e8b196c..38b2812 100644
|
||||
--- a/etc/zfsbootmenu/config.yaml
|
||||
+++ b/etc/zfsbootmenu/config.yaml
|
||||
@@ -14,6 +14,7 @@ Components:
|
||||
Enabled: false
|
||||
EFI:
|
||||
ImageDir: /boot/efi/EFI/zbm
|
||||
+ Stub: /usr/lib/systemd/boot/efi/linuxx64.elf.stub
|
||||
Versions: false
|
||||
Enabled: false
|
||||
Kernel:
|
||||
|
||||
45
sys-boot/zfsbootmenu/zfsbootmenu-2.2.0.ebuild
Normal file
45
sys-boot/zfsbootmenu/zfsbootmenu-2.2.0.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# 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}-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_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="${D}" install
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
elog "Please consult upstream doumentation to install the bootloader
|
||||
https://github.com/zbm-dev/zfsbootmenu"
|
||||
}
|
||||
Reference in New Issue
Block a user