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: Fri, 9 Jun 2023 19:21:10 +0000 (UTC) [thread overview]
Message-ID: <1686338393.711d26e107503945bd2eeed9ead805fd9dbd78be.pascal.jaeger@gentoo> (raw)
commit: 711d26e107503945bd2eeed9ead805fd9dbd78be
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Fri Jun 9 19:19:53 2023 +0000
Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Fri Jun 9 19:19:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=711d26e1
app-backup/grub-btrfs: add 4.13
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
app-backup/grub-btrfs/Manifest | 1 +
app-backup/grub-btrfs/grub-btrfs-4.13.ebuild | 57 ++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/app-backup/grub-btrfs/Manifest b/app-backup/grub-btrfs/Manifest
index 6b63d40ec..702ece5af 100644
--- a/app-backup/grub-btrfs/Manifest
+++ b/app-backup/grub-btrfs/Manifest
@@ -1,2 +1,3 @@
DIST grub-btrfs-4.11.tar.gz 26016 BLAKE2B f808293e7ea06bf10b4a3fa46c7f70aae5b84fab46eae3f0b964e17c0b0e9cb0d2f60995177d33712e4f24b9d3e45aa6fd7ec514be4acb75f00f76d4c5380c3a SHA512 c72cc6cad73e4dfa5d16345d845b2327ec854eb7c49d72f2c8d332c1854937fb1a102833b80517ee17289715f41e9b6a6342e49d4cea88325d13159dc08dcf42
DIST grub-btrfs-4.12.tar.gz 34724 BLAKE2B 5b6a4aa453057e90e2e142ed6b4bc84f536a8eefdc8ea3f8cfccada4706ec49759bdb04a67f64f0705a302a34494d1b758cdae37a502af1b7cd8dfb6cae5f069 SHA512 fb433634f59404373c2a6197c1389eb5e1a27e8aaa5d0376ee76c1c9381b5488b57989a9062a286c26e205d5ac25c2252b02416921c31408d2b7aa8e9af1a521
+DIST grub-btrfs-4.13.tar.gz 37940 BLAKE2B e2f11a0a8282e3ec8ff8223e3bad70b5d5c5e81b4d740a1bf3554db412dbe48a8a0f216f4e6c65ae1d11c01a27b8b92bae9b470c60d2389505ce089511536e1a SHA512 a606597cfb6d752f767a6a9cdaa86bbac1caf89ee11e65731185e22e348cfc53814e187a2dd7309e8be01c6cf3a400b8e242b06a4f8dfc2cd651011b1f0de41e
diff --git a/app-backup/grub-btrfs/grub-btrfs-4.13.ebuild b/app-backup/grub-btrfs/grub-btrfs-4.13.ebuild
new file mode 100644
index 000000000..451771277
--- /dev/null
+++ b/app-backup/grub-btrfs/grub-btrfs-4.13.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2019-2023 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"
+
+DEPEND="
+ sys-fs/btrfs-progs
+ sys-boot/grub
+ app-alternatives/awk
+ >=app-shells/bash-4
+ sys-fs/inotify-tools
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_compile(){
+ true
+}
+
+src_install(){
+ local conf
+ if use systemd; then
+ conf+="GRUB_UPDATE_EXCLUDE=true INSTALL_DOCS=false SYSTEMD=true OPENRC=false"
+ else
+ conf+="GRUB_UPDATE_EXCLUDE=true INSTALL_DOCS=false 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]
+}
next reply other threads:[~2023-06-09 19:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-09 19:21 Pascal Jäger [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-23 15:58 [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=1686338393.711d26e107503945bd2eeed9ead805fd9dbd78be.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