public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-backup/grub-btrfs/, app-backup/grub-btrfs/files/
Date: Fri, 15 Apr 2022 18:42:01 +0000 (UTC)	[thread overview]
Message-ID: <1650029877.2f6b982f77bcbee4943043af051ca722a9ac875a.andrewammerlaan@gentoo> (raw)

commit:     2f6b982f77bcbee4943043af051ca722a9ac875a
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Fri Apr 15 13:37:23 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 13:37:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f6b982f

app-backup/grub-btrfs: add 4.11

Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>

 app-backup/grub-btrfs/Manifest                     |  1 +
 .../grub-btrfs-4.11-remove-docs-from-make.patch    | 16 +++++++++
 app-backup/grub-btrfs/grub-btrfs-4.11.ebuild       | 41 ++++++++++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/app-backup/grub-btrfs/Manifest b/app-backup/grub-btrfs/Manifest
index 63e8b06f8..53daf08dd 100644
--- a/app-backup/grub-btrfs/Manifest
+++ b/app-backup/grub-btrfs/Manifest
@@ -1 +1,2 @@
 DIST grub-btrfs-4.10.2.tar.gz 25021 BLAKE2B d7fe9eed9a08b79e25a52f37bd86fcb30755bcaa567fc83707340e8d5163ba0959151b711576ccaf06327d38809034740b62dbd526cf49a14554ca6417ab59ae SHA512 26a565db2bacaf3a186f3d0d0827c8dc75204a0d96aeccda13e78f15f81ed1ec79bef8ce65fb63fa35808427ae700e39ada53349c6829d08f0a57e34d37c6b47
+DIST grub-btrfs-4.11.tar.gz 26016 BLAKE2B f808293e7ea06bf10b4a3fa46c7f70aae5b84fab46eae3f0b964e17c0b0e9cb0d2f60995177d33712e4f24b9d3e45aa6fd7ec514be4acb75f00f76d4c5380c3a SHA512 c72cc6cad73e4dfa5d16345d845b2327ec854eb7c49d72f2c8d332c1854937fb1a102833b80517ee17289715f41e9b6a6342e49d4cea88325d13159dc08dcf42

diff --git a/app-backup/grub-btrfs/files/grub-btrfs-4.11-remove-docs-from-make.patch b/app-backup/grub-btrfs/files/grub-btrfs-4.11-remove-docs-from-make.patch
new file mode 100644
index 000000000..127501b0b
--- /dev/null
+++ b/app-backup/grub-btrfs/files/grub-btrfs-4.11-remove-docs-from-make.patch
@@ -0,0 +1,16 @@
+--- a/Makefile
++++ b/Makefile
+
+36,38c36,38
+< 	@install -Dm644 -t "$(SHARE_DIR)/licenses/$(PKGNAME)/" LICENSE
+< 	@install -Dm644 -t "$(SHARE_DIR)/doc/$(PKGNAME)/" README.md
+< 	@install -Dm644 "initramfs/readme.md" "$(SHARE_DIR)/doc/$(PKGNAME)/initramfs-overlayfs.md"
+---
+> #	@install -Dm644 -t "$(SHARE_DIR)/licenses/$(PKGNAME)/" LICENSE
+> #	@install -Dm644 -t "$(SHARE_DIR)/doc/$(PKGNAME)/" README.md
+> #	@install -Dm644 "initramfs/readme.md" "$(SHARE_DIR)/doc/$(PKGNAME)/initramfs-overlayfs.md"
+86c86
+< 	@echo
+\ No newline at end of file
+---
+> 	@echo

diff --git a/app-backup/grub-btrfs/grub-btrfs-4.11.ebuild b/app-backup/grub-btrfs/grub-btrfs-4.11.ebuild
new file mode 100644
index 000000000..cd3f71ad1
--- /dev/null
+++ b/app-backup/grub-btrfs/grub-btrfs-4.11.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Improves Grub by adding btrfs snapshots to the Grub menu."
+HOMEPAGE="https://github.com/Antynea/grub-btrfs"
+SRC_URI="https://github.com/Antynea/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+PATCHES=( "${FILESDIR}/${P}-remove-docs-from-make.patch" )
+
+DEPEND="
+	sys-fs/btrfs-progs
+	sys-boot/grub
+    virtual/awk
+    >=app-shells/bash-4
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare() {
+	default
+}
+src_compile(){
+	true
+}
+src_install(){
+	default
+	dodoc README.md
+	mv ./initramfs/readme.md initramfs-overlayfs.md
+	dodoc initramfs-overlayfs.md
+}
+
+pkg_postinst() {
+	elog "run 'grub-mkconfig -o /boot/grub/grub.cfg' to update your Grub menu."
+    elog "update your /etc/grub.d/41_snapshots-btrfs script (e.g. with dispatch-conf or etc-update)"
+}


             reply	other threads:[~2022-04-15 18:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-15 18:42 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-10-08 19:05 [gentoo-commits] repo/proj/guru:master commit in: app-backup/grub-btrfs/, app-backup/grub-btrfs/files/ Arthur Zamarin

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=1650029877.2f6b982f77bcbee4943043af051ca722a9ac875a.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --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