app-backup/grub-btrfs: new package.

Automatically add btrfs snapshots to grub

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
Pascal Jäger 2021-10-03 21:53:52 +02:00
parent 63a97ea002
commit 7177260908
No known key found for this signature in database
GPG Key ID: 9DF5441454F67138
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST grub-btrfs-4.10.1.tar.gz 24581 BLAKE2B 10cba8c3e22ff44c347e331fc8e6f108a947e912db042aca5b61307f01058cef82d44033ce2e1fc36d926e178d2bdd397beac30a7adf89b811ebdba1fb12b112 SHA512 e9d395ad56e3095ca27a92f2ceedb699249ea14b29a351e3db13cf27aa8999a9de2bfdca565a5ed359744f88c0dc6f8919b32c8283c763f5facc7b01e98a08c5

View File

@ -0,0 +1,31 @@
# 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=""
DEPEND="
sys-fs/btrfs-progs
sys-boot/grub
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
default
}
src_compile(){
true
}
pkg_postinst() {
grub-mkconfig -o /boot/grub/grub.cfg
}

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>pascal.jaeger@leimstift.de</email>
<name>Pascal Jäger</name>
</maintainer>
<upstream>
<remote-id type="github">Antynea/grub-btrfs</remote-id>
</upstream>
<longdescription lang="en">
Improves Grub by adding "btrfs snapshots" to the Grub menu.
You can boot your system on a "snapshot" from the Grub menu.
Supports manual snapshots, snapper, timeshift ...
</longdescription>
</pkgmetadata>