* [gentoo-commits] repo/proj/guru:dev commit in: sys-boot/zfsbootmenu/, sys-boot/zfsbootmenu/files/
@ 2022-04-16 8:10 Chaquen Beliakov Amaya
0 siblings, 0 replies; only message in thread
From: Chaquen Beliakov Amaya @ 2022-04-16 8:10 UTC (permalink / raw
To: gentoo-commits
commit: 0d1c4f7e517c8c7154ec1ffe4ffcef8dc8c52f0f
Author: Chaquen Beliakov Amaya <c <AT> cgps <DOT> ch>
AuthorDate: Sat Apr 16 08:09:18 2022 +0000
Commit: Chaquen Beliakov Amaya <c <AT> cgps <DOT> ch>
CommitDate: Sat Apr 16 08:09:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d1c4f7e
sys-boot/zfsbootmenu: initial import
Signed-off-by: Chaquen Beliakov Amaya <c <AT> cgps.ch>
| 1 +
.../zfsbootmenu/files/zfsbootmenu-branding.patch | 20 ++++++++++++++
| 8 ++++++
| 32 ++++++++++++++++++++++
4 files changed, 61 insertions(+)
--git a/sys-boot/zfsbootmenu/Manifest b/sys-boot/zfsbootmenu/Manifest
new file mode 100644
index 000000000..9fdbab689
--- /dev/null
+++ b/sys-boot/zfsbootmenu/Manifest
@@ -0,0 +1 @@
+DIST zfsbootmenu-1.12.0.tar.gz 1688946 BLAKE2B 291dcc813767def653bc4983cb9ff4c5b1d9f191cb8fee6e9a58cd6826fe0204606aa095339e9eeb6e4dd3201f5f9ad1b4cc3a26712960bf057198225f4b65f9 SHA512 5af3d258eee3ade3e9e11e084f4de0d251acc952348fdc4d3656b32f8fec7460c2d59fa883e06f482bd2f59e1055d6b908cf43c29aee47059d369231197a6645
diff --git a/sys-boot/zfsbootmenu/files/zfsbootmenu-branding.patch b/sys-boot/zfsbootmenu/files/zfsbootmenu-branding.patch
new file mode 100644
index 000000000..95e2e130b
--- /dev/null
+++ b/sys-boot/zfsbootmenu/files/zfsbootmenu-branding.patch
@@ -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:
--git a/sys-boot/zfsbootmenu/metadata.xml b/sys-boot/zfsbootmenu/metadata.xml
new file mode 100644
index 000000000..cd7ee30a2
--- /dev/null
+++ b/sys-boot/zfsbootmenu/metadata.xml
@@ -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>
--git a/sys-boot/zfsbootmenu/zfsbootmenu-1.12.0.ebuild b/sys-boot/zfsbootmenu/zfsbootmenu-1.12.0.ebuild
new file mode 100644
index 000000000..ab7602504
--- /dev/null
+++ b/sys-boot/zfsbootmenu/zfsbootmenu-1.12.0.ebuild
@@ -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"
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-16 8:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-16 8:10 [gentoo-commits] repo/proj/guru:dev commit in: sys-boot/zfsbootmenu/, sys-boot/zfsbootmenu/files/ Chaquen Beliakov Amaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox