Matter hook disabled on grub upgrade
See original GitHub issueMatter adds to the end of the /usr/sbin/grub-mkconfig
script a call to itself so whenever the grub is updated (on a new kernel installation for example) matter can overwrite grub.cfg
to put the icon classes in place.
However when the grub itself is upgraded, grub-mkconfig
is overwritten effectively removing the Matter hook at the end, and you as an user need to “install” Matter again for keeping the correct icons.
One solution that comes to mind would be to place the hook on the package manager instead. With apt
something like this would be needed. A problem with this approach is how to gracefully handle other package managers.
Hopefully there are other alternatives that you can come with. Any ideas are welcomed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
GRUB - ArchWiki
GRUB (GRand Unified Bootloader) is a boot loader. ... Tip: You can use pacman hooks to automount your /boot when upgrades need to...
Read more >Grub Hook to grub-install and grub-mkconfig? - Newbie
The only thing I think I know is that sometimes/maybe/should/must/not necessary/recommended/required… to run those two commands after a Grub ...
Read more >Bug #687501 “when installer is multipath aware, grub fails to ...
To reproduce: 1) ubuntu 10.4.1 server amd64 2) grub prompt# install disk-detect/multipath/enable=true 3) It doesn't matter how you partition ...
Read more >Why do many tutorials use "update-grub"? : r/linuxquestions
update -grub , as I recently found out, is actually just a script that runs the following command: grub-mkcnfig -o /boot/grub/grub.cfg , so...
Read more >Stuck in boot loop after update - Garuda Linux Forum
There actually is something going on with the latest grub update. It is causing multiple systems to be unbootable. There's a thread stuck...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, I can see that becoming troublesome.
I’ll look for some other solutions.
Solved in latest v1.1.0 release
It was implemented with the idea of the grub scripts in
/etc/grub.d/
. It turns out that grub upgrades do not delete those scripts so now there is one there that checks whethergrub-mkconfig
has been reverted and if so puts the hook back onto it.