From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD1D315808B for ; Sat, 16 Apr 2022 08:10:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1A97E09B0; Sat, 16 Apr 2022 08:10:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5A5AE09B0 for ; Sat, 16 Apr 2022 08:10:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C8A8342177 for ; Sat, 16 Apr 2022 08:10:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D05811BF for ; Sat, 16 Apr 2022 08:10:48 +0000 (UTC) From: "Chaquen Beliakov Amaya" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Chaquen Beliakov Amaya" Message-ID: <1650096558.0d1c4f7e517c8c7154ec1ffe4ffcef8dc8c52f0f.c@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-boot/zfsbootmenu/, sys-boot/zfsbootmenu/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-boot/zfsbootmenu/Manifest sys-boot/zfsbootmenu/files/zfsbootmenu-branding.patch sys-boot/zfsbootmenu/metadata.xml sys-boot/zfsbootmenu/zfsbootmenu-1.12.0.ebuild X-VCS-Directories: sys-boot/zfsbootmenu/ sys-boot/zfsbootmenu/files/ X-VCS-Committer: c X-VCS-Committer-Name: Chaquen Beliakov Amaya X-VCS-Revision: 0d1c4f7e517c8c7154ec1ffe4ffcef8dc8c52f0f X-VCS-Branch: dev Date: Sat, 16 Apr 2022 08:10:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: acf9314c-3fcf-4a38-a62a-5975bc02474f X-Archives-Hash: 98fad71b8cf2580a31d3511808d4a1ca commit: 0d1c4f7e517c8c7154ec1ffe4ffcef8dc8c52f0f Author: Chaquen Beliakov Amaya cgps ch> AuthorDate: Sat Apr 16 08:09:18 2022 +0000 Commit: Chaquen Beliakov Amaya cgps 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 cgps.ch> sys-boot/zfsbootmenu/Manifest | 1 + .../zfsbootmenu/files/zfsbootmenu-branding.patch | 20 ++++++++++++++ sys-boot/zfsbootmenu/metadata.xml | 8 ++++++ sys-boot/zfsbootmenu/zfsbootmenu-1.12.0.ebuild | 32 ++++++++++++++++++++++ 4 files changed, 61 insertions(+) diff --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: diff --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 @@ + + + + + c@cgps.ch + Chaquen Beliakov Amaya + + diff --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" +}