grub-btrfs: update to 4.13.

This commit is contained in:
lzcoder 2023-06-29 14:30:41 -03:00 committed by Duncan Overbruck
parent 26773084b8
commit 484340deb7
2 changed files with 10 additions and 12 deletions

View file

@ -1,15 +1,13 @@
Index: grub-btrfs-4.9/Makefile --- a/Makefile
=================================================================== +++ b/Makefile
--- grub-btrfs-4.9.orig/Makefile @@ -22,10 +22,6 @@
+++ grub-btrfs-4.9/Makefile .PHONY: install uninstall clean help
@@ -9,10 +9,6 @@ LIB_DIR = $(DESTDIR)$(PREFIX)/lib
.PHONY: install uninstall help
install: install:
- @if test "$(shell id -u)" != 0; then \ - @if test "$(shell id -u)" != 0; then \
- echo "You are not root, run this target as root please."; \ - echo "You are not root, run this target as root please."; \
- exit 1; \ - exit 1; \
- fi - fi
@install -Dm755 -t "$(DESTDIR)/etc/grub.d/" 41_snapshots-btrfs @echo " Installing "
@install -Dm644 -t "$(DESTDIR)/etc/default/grub-btrfs/" config @echo
@install -Dm644 -t "$(LIB_DIR)/systemd/system/" grub-btrfs.service @echo " :::::::: ::::::::: ::: ::: ::::::::: ::::::::: ::::::::::: ::::::::: :::::::::: :::::::: "

View file

@ -1,6 +1,6 @@
# Template file for 'grub-btrfs' # Template file for 'grub-btrfs'
pkgname=grub-btrfs pkgname=grub-btrfs
version=4.10.1 version=4.13
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
depends="grub bash" depends="grub bash"
@ -8,8 +8,8 @@ short_desc="Include btrfs snapshots at Grub menu"
maintainer="Anjandev Momi <anjan@momi.ca>" maintainer="Anjandev Momi <anjan@momi.ca>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://github.com/Antynea/grub-btrfs" homepage="https://github.com/Antynea/grub-btrfs"
distfiles="https://github.com/Antynea/grub-btrfs/archive/v${version}.tar.gz" distfiles="https://github.com/Antynea/grub-btrfs/archive/${version}.tar.gz"
checksum=3ef53f16a7bc0fdd5a5ac2216a41bf1b2f4fd2283717c5c240415d5d24d3734b checksum=c493d0d5a6548c01993641ce586c98d461cabe40df4dff79d974d0c59068ff1d
post_install() { post_install() {
rm -rf -- "${DESTDIR}"/usr/lib/systemd rm -rf -- "${DESTDIR}"/usr/lib/systemd