Search Criteria
Package Details: grub-hook 2.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/grub-hook.git (read-only, click to copy) |
---|---|
Package Base: | grub-hook |
Description: | Pacman hook to update GRUB after a kernel update |
Upstream URL: | https://wiki.archlinux.org/index.php/Pacman#Hooks |
Licenses: | GPL |
Submitter: | runnytu |
Maintainer: | runnytu |
Last Packager: | runnytu |
Votes: | 53 |
Popularity: | 1.39 |
First Submitted: | 2013-08-25 22:38 (UTC) |
Last Updated: | 2020-03-04 19:41 (UTC) |
Dependencies (1)
- grub (grub-linux-defaultAUR, grub-coreosAUR, grub-blscfgAUR, grub-xen-gitAUR, grub-luks-keyfileAUR, grub-silentAUR, grub-gitAUR, grub-improved-luks2-gitAUR, grub-grubenv-btrfsAUR, grub-libzfsAUR)
Required by (5)
- kernel-rotate-hook (optional)
- linux-hardened-versioned-bin (optional)
- linux-lts-versioned-bin (optional)
- linux-versioned-bin (optional)
- linux-zen-versioned-bin (optional)
Latest Comments
1 2 Next › Last »
chrisjbillington commented on 2020-03-04 19:47 (UTC)
@runnytu thanks!
runnytu commented on 2020-03-04 19:42 (UTC)
@chrisjbillington, Done with the same version to avoid other users to update.
chrisjbillington commented on 2020-02-23 19:33 (UTC)
Thanks @runnytu, however I'm getting an error when the post_upgrade function runs:
I don't think the functions are supposed to give a nonzero exit code, which they do by running
/usr/bin/false
as their last command.In any case since it's been several years, I think it would be ok to drop the .install file rather than fix it.
runnytu commented on 2020-02-23 13:40 (UTC)
@chrisjbillington, It's for people with older versions, I adjust it for only show the text if they have the old files with the same version to avoid users to upgrade again.
chrisjbillington commented on 2020-02-22 17:54 (UTC)
Thanks @runnytu! One more suggestion: The
.install
script is printing messages during removal:Please remove 'grub' to the HOOKs array in /etc/mkinitcpio.conf.
. This seems no longer relevant to existing installs. Should the.install
script be removed?runnytu commented on 2020-02-22 13:10 (UTC)
@chrisjbillington, Done, it's functional again.
chrisjbillington commented on 2020-02-19 19:04 (UTC)
As of the kernel packaging changes a few months ago, this hook is no longer functional. This is because the packages no longer install kernels directly to
/boot
- instead this is done by mkinitcpio in a postinstall hook. This hook should look for the same files that trigger themkinitcpio
hook instead. The following should do it (also the call to a shell is unnecessary - just call/usr/bin/grub-mkconfig
by its full name):Also, since this hook is installed by a package and is not intended to be user-editable, it should go in
/usr/share/libalpm/hooks/
where other packages put their hooks, instead of in/etc/pacman.d/hooks/
.runnytu commented on 2016-11-20 12:53 (UTC)
QuartzDragon commented on 2016-11-20 04:27 (UTC)
runical commented on 2016-08-16 23:27 (UTC)
1 2 Next › Last »