Hello! I haven't used this in a long while, but I suppose the answer is that snap-pac has two hooks (one to create a pre-upgrade snapshot, and another for a post-upgrade one). And for recovery purposes I always needed to boot in either "pre" snapshot, or a little older "post" snapshot anyway, but never in the latest "post" one anyway. Having said that, I don't mind renaming the hook, if you like please submit a PR on Github and I'll merge :)
Search Criteria
Package Details: snap-pac-grub 2.0.3-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/snap-pac-grub.git (read-only, click to copy) |
---|---|
Package Base: | snap-pac-grub |
Description: | Pacman hook to update GRUB entries for grub-btrfs after snap-pac made snapshots |
Upstream URL: | https://github.com/maximbaz/snap-pac-grub |
Licenses: | MIT |
Submitter: | maximbaz |
Maintainer: | maximbaz |
Last Packager: | maximbaz |
Votes: | 26 |
Popularity: | 0.24 |
First Submitted: | 2017-12-29 16:17 (UTC) |
Last Updated: | 2024-06-19 19:49 (UTC) |
Dependencies (2)
- grub-btrfs (grub-btrfs-gitAUR)
- snap-pac (snap-pac-gitAUR)
Required by (1)
- kernel-rotate-hook (optional)
Sources (2)
Latest Comments
maximbaz commented on 2024-06-19 08:26 (UTC)
leonkacowicz commented on 2024-06-17 20:17 (UTC)
This hook is running before the pac-snap post hook. Am I doing anything wrong?
The name of the hooks are zz-snap-pac-grub-post.hook
and zz-snap-pac-post.hook
. I believe they are run in alphabetical order (not sure, though). Can I just change the name to something that is sorted after zz-snap-pac-post.hook
? Will this mess up the installation?
vegancookies commented on 2022-09-07 17:54 (UTC) (edited on 2022-09-07 17:56 (UTC) by vegancookies)
I just had an issue where I had ext4 arch and btrfs arch installed on the same machine. grub-mkconfig from ext4 wouldn't work, but if I grub-installed from btrfs I couldn't do grub tricks (see: https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Recall_previous_entry ).
Solution:
1) Install grub from ext4 chroot
2) mkconfig grub from btrfs (first time should be chroot) but save it to the ext4 /boot (best to have ext4 mounted via your fstab for the below).
3)And from this package, because quality of life, I want the tricks:
/usr/share/libalpm/scripts/grub-mkconfig
Edit the /boot/grub/grub.cfg to be where the ext4 grub is, in my case I mounted it to /mnt/ext4/
So I edited to:
/mnt/ext4/boot/grub/grub.cfg
This is a very specific use case, based on grub-mkconfig's from ext4 not seeing snapshots, and not creating correct grub-entries for btrfs.
Thank you for coming to my ted-talk.
mbc commented on 2022-06-18 08:04 (UTC) (edited on 2022-06-18 08:08 (UTC) by mbc)
@darkbasic if you are still having trouble, check your ~/.gnupgg/gpg.conf
file to make sure you're using a valid keyserver
maximbaz commented on 2022-06-17 23:23 (UTC)
Please follow the instructions in the pinned comment :)
darkbasic commented on 2022-06-16 08:38 (UTC)
:: (1/1) Parsing SRCINFO: snap-pac-grub
:: PGP keys need importing: -> 56C3E775E72B0C8B1C0C1BD0B5DB77409B11B601, required by: snap-pac-grub ==> Import? [Y/n] :: Importing keys with gpg... gpg: keyserver receive failed: No data -> problem importing keys
fanzhuyifan commented on 2020-12-13 03:50 (UTC)
Would it be possible to list https://github.com/maximbaz/snap-pac-grub as the upstream URL?
maximbaz commented on 2018-07-01 01:30 (UTC)
The key is available on https://pgp.mit.edu/pks/lookup?op=get&search=0x12C87A28FEAC6B20, and both gpg --search-keys EB4F9E5A60D32232BB52150C12C87A28FEAC6B20
as well as gpg --recv-keys EB4F9E5A60D32232BB52150C12C87A28FEAC6B20
are able to find it.
My key is also available on https://keybase.io/maximbaz, which you can import using curl <https://keybase.io/maximbaz/pgp_keys.asc> | gpg --import
.
arkme commented on 2018-06-30 13:34 (UTC)
Seems like your PGP-Key cannot be found on the usual public keyservers.
maximbaz commented on 2018-01-20 21:16 (UTC) (edited on 2022-06-17 23:23 (UTC) by maximbaz)
To install the package first import my PGP key:
gpg --recv-keys 56C3E775E72B0C8B1C0C1BD0B5DB77409B11B601
Alternatively add keyserver-options auto-key-retrieve
to your ~/.gnupg/gpg.conf
Pinned Comments
maximbaz commented on 2018-01-20 21:16 (UTC) (edited on 2022-06-17 23:23 (UTC) by maximbaz)
To install the package first import my PGP key:
Alternatively add
keyserver-options auto-key-retrieve
to your~/.gnupg/gpg.conf