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 67BC4158021 for ; Wed, 23 Nov 2022 15:59:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96DC9E0A46; Wed, 23 Nov 2022 15:59:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 818BAE0A46 for ; Wed, 23 Nov 2022 15:59:00 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4EA85340F42 for ; Wed, 23 Nov 2022 15:58:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8268C692 for ; Wed, 23 Nov 2022 15:58:57 +0000 (UTC) From: "Pascal Jäger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pascal Jäger" Message-ID: <1669219078.9d7a84abb3c222dc95d7c6d94380d1ce5a580806.pascal.jaeger@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-backup/grub-btrfs/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-backup/grub-btrfs/Manifest app-backup/grub-btrfs/grub-btrfs-4.12.ebuild X-VCS-Directories: app-backup/grub-btrfs/ X-VCS-Committer: pascal.jaeger X-VCS-Committer-Name: Pascal Jäger X-VCS-Revision: 9d7a84abb3c222dc95d7c6d94380d1ce5a580806 X-VCS-Branch: dev Date: Wed, 23 Nov 2022 15:58:57 +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: e700fe7b-627e-44c5-b15d-eb2710369749 X-Archives-Hash: 6bfed93d24ada117a9de28d0d8ec4b7b commit: 9d7a84abb3c222dc95d7c6d94380d1ce5a580806 Author: Pascal Jäger leimstift de> AuthorDate: Wed Nov 23 15:57:58 2022 +0000 Commit: Pascal Jäger leimstift de> CommitDate: Wed Nov 23 15:57:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d7a84ab app-backup/grub-btrfs: add version 4.12 Signed-off-by: Pascal Jäger leimstift.de> app-backup/grub-btrfs/Manifest | 1 + app-backup/grub-btrfs/grub-btrfs-4.12.ebuild | 58 ++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-backup/grub-btrfs/Manifest b/app-backup/grub-btrfs/Manifest index 1ab02333d..6b63d40ec 100644 --- a/app-backup/grub-btrfs/Manifest +++ b/app-backup/grub-btrfs/Manifest @@ -1 +1,2 @@ DIST grub-btrfs-4.11.tar.gz 26016 BLAKE2B f808293e7ea06bf10b4a3fa46c7f70aae5b84fab46eae3f0b964e17c0b0e9cb0d2f60995177d33712e4f24b9d3e45aa6fd7ec514be4acb75f00f76d4c5380c3a SHA512 c72cc6cad73e4dfa5d16345d845b2327ec854eb7c49d72f2c8d332c1854937fb1a102833b80517ee17289715f41e9b6a6342e49d4cea88325d13159dc08dcf42 +DIST grub-btrfs-4.12.tar.gz 34724 BLAKE2B 5b6a4aa453057e90e2e142ed6b4bc84f536a8eefdc8ea3f8cfccada4706ec49759bdb04a67f64f0705a302a34494d1b758cdae37a502af1b7cd8dfb6cae5f069 SHA512 fb433634f59404373c2a6197c1389eb5e1a27e8aaa5d0376ee76c1c9381b5488b57989a9062a286c26e205d5ac25c2252b02416921c31408d2b7aa8e9af1a521 diff --git a/app-backup/grub-btrfs/grub-btrfs-4.12.ebuild b/app-backup/grub-btrfs/grub-btrfs-4.12.ebuild new file mode 100644 index 000000000..fbdf2148f --- /dev/null +++ b/app-backup/grub-btrfs/grub-btrfs-4.12.ebuild @@ -0,0 +1,58 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +DESCRIPTION="Improves Grub by adding btrfs snapshots to the Grub menu." +HOMEPAGE="https://github.com/Antynea/grub-btrfs" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Antynea/grub-btrfs" +else + SRC_URI="https://github.com/Antynea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="systemd" +PATCHES=( "${FILESDIR}/${PN}-9999-remove-docs-from-make.patch" ) + +DEPEND=" + sys-fs/btrfs-progs + sys-boot/grub + virtual/awk + >=app-shells/bash-4 + sys-fs/inotify-tools +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile(){ + true +} + +src_install(){ + local conf + if use systemd; then + conf+="SYSTEMD=true OPENRC=false" + else + conf+="OPENRC=true SYSTEMD=false" + fi + emake DESTDIR="${D}" ${conf} install || die + dodoc README.md + mv ./initramfs/readme.md initramfs-overlayfs.md || die + dodoc initramfs-overlayfs.md + doman temp/grub-btrfs.8 + doman temp/grub-btrfsd.8 +} + +pkg_postinst() { + elog "run 'grub-mkconfig -o /boot/grub/grub.cfg' to update your Grub menu." + elog "update the /etc/grub.d/41_snapshots-btrfs script if neccesary." + elog "(e.g. with dispatch-conf or etc-update)" + optfeature "LVM/ LUKS support" sys-boot/grub[device-mapper] +}