public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pascal Jäger" <pascal.jaeger@leimstift.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-backup/grub-btrfs/
Date: Wed, 23 Nov 2022 15:58:57 +0000 (UTC)	[thread overview]
Message-ID: <1669219078.9d7a84abb3c222dc95d7c6d94380d1ce5a580806.pascal.jaeger@gentoo> (raw)

commit:     9d7a84abb3c222dc95d7c6d94380d1ce5a580806
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Wed Nov 23 15:57:58 2022 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> 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 <pascal.jaeger <AT> 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]
+}


             reply	other threads:[~2022-11-23 15:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23 15:58 Pascal Jäger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-09 19:21 [gentoo-commits] repo/proj/guru:dev commit in: app-backup/grub-btrfs/ Pascal Jäger
2022-11-23 15:58 Pascal Jäger
2022-04-18 19:11 Pascal Jäger
2022-04-18 19:09 Pascal Jäger
2022-04-16 19:12 Pascal Jäger
2021-10-08 18:35 Arthur Zamarin
2021-10-05 19:24 Pascal Jäger
2021-10-04 20:01 Pascal Jäger
2021-10-03 20:20 Pascal Jäger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1669219078.9d7a84abb3c222dc95d7c6d94380d1ce5a580806.pascal.jaeger@gentoo \
    --to=pascal.jaeger@leimstift.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox